Commit 4e280112 by 蔡润涛

Update commom.yml

parent 8d5ae3a5
......@@ -3,7 +3,7 @@ version: '2.4'
services:
nginx-root:
restart: always
image: registry.cn-shenzhen.aliyuncs.com/dankal/nginx
image: registry.cn-shenzhen.aliyuncs.com/dankal/nginx:1.26.0-alpine
container_name: nginx-root
ports:
- 80:80
......@@ -13,10 +13,10 @@ services:
- /etc/nginx/vhost.d
- /usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
- /home/deploy/nginx/certs:/etc/nginx/certs:ro
- /home/deploy/nginx/certs:/etc/nginx/certs
nginx-gen:
restart: always
image: registry.cn-shenzhen.aliyuncs.com/dankal/nginx-gen
image: registry.cn-shenzhen.aliyuncs.com/dankal/nginx-gen:2.0
container_name: nginx-gen
volumes_from:
- nginx-root
......@@ -35,6 +35,7 @@ services:
volumes:
- /home/deploy/nginx/certs:/etc/nginx/certs:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
# root:Bgk!u@Wzmg
mysql:
restart: always
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment