1 Star 0 Fork 29

yepingping/cpms

forked from cpms开源/cpms 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
version: '3.0'
services:
nginx:
restart: always
image: nginx:latest
container_name: my-nginx
ports:
- 80:80
- 443:443
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d:ro
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/logs:/var/log/nginx:rw
- ./www:/usr/share/nginx/html:rw
- /etc/letsencrypt:/etc/letsencrypt
networks:
- front
- backend
mysql:
image: mysql:5.7.26
container_name: my-mysql
restart: always
command: --default-authentication-plugin=mysql_native_password
ports:
- 3306:3306
volumes:
- ./mysql/data/:/var/lib/mysql/
- ./mysql/conf.d/mysql.cnf:/etc/mysql/conf.d/mysql.cnf:rw
environment:
MYSQL_ROOT_PASSWORD : root
redis:
container_name: my-redis
restart: always
image: redis:5.0.9
ports:
- "6379:6379"
volumes:
- ./redis/conf/redis.conf:/usr/local/etc/redis/redis.conf:rw
- ./redis/data:/data:rw
- ./redis/logs:/var/log/:rw
my-cpms:
image: cpms:latest
container_name: cpms
restart: always
ports:
- 8001:8001
volumes:
- ./java/cpms/logs:/applogs
networks:
front:
backend:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/yepp3021/cpms.git
git@gitee.com:yepp3021/cpms.git
yepp3021
cpms
cpms
master

搜索帮助