add nginx

pull/21891/head
ytqh 1 year ago
parent f933eeb18f
commit 591f0f9cf0

@ -191,6 +191,8 @@ services:
nginx: nginx:
image: nginx:latest image: nginx:latest
restart: always restart: always
extra_hosts:
- "host.docker.internal:host-gateway"
volumes: volumes:
- ./nginx/nginx.conf.template:/etc/nginx/nginx.conf.template - ./nginx/nginx.conf.template:/etc/nginx/nginx.conf.template
- ./nginx/proxy.conf.template:/etc/nginx/proxy.conf.template - ./nginx/proxy.conf.template:/etc/nginx/proxy.conf.template

@ -593,6 +593,8 @@ services:
nginx: nginx:
image: nginx:latest image: nginx:latest
restart: always restart: always
extra_hosts:
- "host.docker.internal:host-gateway"
volumes: volumes:
- ./nginx/nginx.conf.template:/etc/nginx/nginx.conf.template - ./nginx/nginx.conf.template:/etc/nginx/nginx.conf.template
- ./nginx/proxy.conf.template:/etc/nginx/proxy.conf.template - ./nginx/proxy.conf.template:/etc/nginx/proxy.conf.template

Loading…
Cancel
Save