代码拉取完成,页面将自动刷新
同步操作将从 sanluan/PublicCMS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: "3.9"
services:
publiccms:
build: .
container_name: publiccms
ports:
- "8080:8080"
volumes:
- ./data/publiccms:/data/publiccms #website file
- ./data/log/:/var/log/ #log file
environment:
- TZ=Asia/Shanghai
depends_on:
- "mysql"
mysql:
image: mysql:latest
container_name: mysql-cms
command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
#restart: always
ports:
- "3306:3306"
volumes:
- ./data/mysql:/var/lib/mysql #data file
- ./data/mysql-config:/etc/mysql/conf.d #config file
- ./data/log:/var/log/mysql #log file
environment:
- TZ=Asia/Shanghai
- MYSQL_ROOT_PASSWORD=password!@#
- MYSQL_DATABASE=publiccms
- MYSQL_USER=publiccms
- MYSQL_PASSWORD=password!@#
nginx:
image: nginx:stable
container_name: nginx-cms
ports:
- "80:80"
volumes:
- ./data/nginx-config:/etc/nginx/conf.d #config file
- ./data/publiccms:/data/publiccms #website file
- ./data/log:/var/log/nginx #log file
environment:
- TZ=Asia/Shanghai
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。