代码拉取完成,页面将自动刷新
同步操作将从 W5 TEAM/w5 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3'
services:
web:
build: .
restart: always
container_name: w5_web
platform: "linux/amd64"
ports:
- "8888:8888"
depends_on:
- mysql
- redis
environment:
MYSQL_HOST: "mysql"
MYSQL_PORT: 3306
MYSQL_DATABASE: "w5_db"
MYSQL_USER: "root"
MYSQL_PASSWORD: "w5_12345678"
REDIS_HOST: "redis"
REDIS_PORT: 6379
REDIS_DATABASE: 0
REDIS_PASSWORD: ""
volumes:
- ./docker/config.ini:/w5/config.ini
- ./docker/apps:/w5/apps
- ./docker/logs:/opt
- /etc/localtime:/etc/localtime
networks:
- w5Net
mysql:
image: mysql
restart: always
container_name: w5_mysql
ports:
- "3307:3306"
volumes:
- ./docker/sql:/docker-entrypoint-initdb.d
- ./docker/conf.d:/etc/mysql/conf.d
- ./docker/mysql_db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: "w5_12345678"
TZ: Asia/Shanghai
command:
--max_connections=1000
--character-set-server=utf8mb4
--collation-server=utf8mb4_general_ci
--default-authentication-plugin=mysql_native_password
networks:
- w5Net
redis:
image: redis:alpine
restart: always
container_name: w5_redis
environment:
REDIS_PASSWORD: ""
volumes:
- ./docker/redis_db:/data
networks:
- w5Net
networks:
w5Net:
driver: bridge
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。