Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新文档独立部署的 docker compose || Update the document for independent deployment of docker compose #2288

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

FloatSheep
Copy link
Contributor

@FloatSheep FloatSheep commented Jan 26, 2024

文档中提供的 docker compose,即

# docker-compose.yml
version: '3'

services:
  waline:
    container_name: waline
    image: lizheming/waline:latest
    restart: always
    ports:
      - 127.0.0.1:8360:8360
    volumes:
      - ${PWD}/data:/app/data
    environment:
      TZ: 'Asia/Shanghai'
      SQLITE_PATH: '/app/data'
      JWT_TOKEN: 'Your token'
      SITE_NAME: 'Your site name'
      SITE_URL: 'https://example.com'
      SECURE_DOMAINS: 'example.com'
      AUTHOR_EMAIL: '[email protected]'

中的 ports 字段有问题,如果在本地部署,则无法从局域网中访问(实测),因此可以删除 127.0.0.1 前缀


The docker compose provided in the documentation is

# docker-compose.yml
version: '3'

services:
  waline:
    container_name:waline
    image: lizheming/waline:latest
    restart: always
    ports:
      - 127.0.0.1:8360:8360
    volumes:
      - ${PWD}/data:/app/data
    environment:
      TZ: 'Asia/Shanghai'
      SQLITE_PATH: '/app/data'
      JWT_TOKEN: 'Your token'
      SITE_NAME: 'Your site name'
      SITE_URL: 'https://example.com'
      SECURE_DOMAINS: 'example.com'
      AUTHOR_EMAIL: '[email protected]'

There is a problem with the ports field in. If it is deployed locally, it cannot be accessed from the LAN (actual measurement), so you can delete the 127.0.0.1 prefix

@github-actions github-actions bot changed the title 更新文档独立部署的 docker compose 更新文档独立部署的 docker compose || Update the document for independent deployment of docker compose Jan 26, 2024
@lizheming lizheming merged commit cea083a into walinejs:main Jan 26, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants