Browse Source

docker-compose 编排

pull/3/head
Mayday 3 years ago
parent
commit
8606f073ed
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      deploy/nginx/docker-compose.yml
  2. +1
    -1
      deploy/yuqing/docker-compose.yml

+ 1
- 0
deploy/nginx/docker-compose.yml View File

@@ -17,6 +17,7 @@ services:
- /data/nginx/cert/:/home
networks:
- nginx
# 如果使用nginx代理需要创建一个名称为nginx的network
networks:
nginx:
external: true

+ 1
- 1
deploy/yuqing/docker-compose.yml View File

@@ -17,7 +17,7 @@ services:
- /data/mysql/data:/var/lib/mysql #数据挂载
- /data/mysql/init/:/docker-entrypoint-initdb.d/ #初始化数据
yuqing:
image: yuqing:latest
image: maydays/yuqing:latest
container_name: yuqing
ports:
- "8084:8084"


Loading…
Cancel
Save