Move nginx-proxy data volumes into one folder

main
Marco von Rosenberg 2 years ago
parent f1c199ca10
commit e4c4410ba3
  1. 12
      docker-containers/nginx-proxy/docker-compose.yml

@ -7,10 +7,10 @@ services:
- 80:80
- 443:443
volumes:
- ./conf:/etc/nginx/conf.d
- ./certs:/etc/nginx/certs
- ./vhost:/etc/nginx/vhost.d
- ./html:/usr/share/nginx/html
- ./nginx-data/conf:/etc/nginx/conf.d
- ./nginx-data/certs:/etc/nginx/certs
- ./nginx-data/vhost:/etc/nginx/vhost.d
- ./nginx-data/html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
- ${PWD}/secure-turn-module:/etc/nginx/modules/secure-turn-module
networks:
@ -21,8 +21,8 @@ services:
volumes_from:
- nginx-proxy
volumes:
- ./certs:/etc/nginx/certs:rw
- ./acme:/etc/acme.sh
- ./nginx-data/certs:/etc/nginx/certs:rw
- ./nginx-data/acme:/etc/acme.sh
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- DEFAULT_EMAIL=codingmarco@gmail.com

Loading…
Cancel
Save