Skip to content

Commit

Permalink
share config betweeen gen and proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Beslogic committed Jun 20, 2024
1 parent ff93de1 commit 5a06dbe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configs/network/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
- /var/run/docker.sock:/tmp/docker.sock:rw
- nginx-template:/etc/docker-gen/templates
- /var/run/nginx/nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl:ro
- nginx-config:/etc/nginx/conf.d

nginx-proxy:
image: nginxproxy/nginx-proxy
Expand All @@ -30,6 +31,7 @@ services:
- /var/run/docker.sock:/tmp/docker.sock:ro
- /etc/letsencrypt/live/releaftrees.life:/etc/nginx/certs
- nginx-html:/usr/share/nginx/html
- nginx-config:/etc/nginx/conf.d
ports:
- "80:80"
- "443:443"
Expand Down Expand Up @@ -61,6 +63,8 @@ volumes:
external: true
nginx-template:
external: true
nginx-config:
external: true

networks:
nginx:
Expand Down

0 comments on commit 5a06dbe

Please sign in to comment.