1 Star 0 Fork 320

cangchu/cool-admin-midway

forked from 闪酷/cool-admin-midway 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 973 Bytes
一键复制 编辑 原始数据 按行查看 历史
玄笔 提交于 2021-07-14 10:38 . style:更改参数;
version: "3"
services:
cool-cangchu-admin:
image: cool-cangchu-admin
container_name: cool-cangchu-admin
networks:
- node
build: .
ports:
- "8086:8001" # 设置端口连接
volumes:
- "./src/:/home/src/"
environment:
TZ: Asia/Shanghai
NODE_ENV: production
restart: always
volumes:
- ./data/node-logs:/home/logs:rw
- ./src/:/home/src/:rw
cangchu-nginx:
image: nginx
restart: always
depends_on:
- cool-cangchu-admin
networks:
- node
environment:
- TZ=Asia/Shanghai
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:rw # 挂载nginx配置文件
- ../cool-admin-vue/dist/:/usr/share/nginx/html
ports:
- "8088:5000" # 设置端口连接
- "8087:8087" # 设置端口连接
links:
- cool-cangchu-admin # 建立连接,web容器就无需暴露端口出去
networks:
node:
# Use a custom driver
driver: bridge
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/cool-cangchu/cool-admin-midway.git
[email protected]:cool-cangchu/cool-admin-midway.git
cool-cangchu
cool-admin-midway
cool-admin-midway
master

搜索帮助