1 Star 0 Fork 1.1K

yixx/PublicCMS

forked from sanluan/PublicCMS 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
sanluan 提交于 2022-12-12 19:44 . docker compose文件修改
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/yixx4011/PublicCMS.git
git@gitee.com:yixx4011/PublicCMS.git
yixx4011
PublicCMS
PublicCMS
master

搜索帮助