Add an nginx container to do crazy things with traefik

This commit is contained in:
Jake Howard
2022-01-16 14:08:29 +00:00
parent d5c7d94ac8
commit 6c0314b758
5 changed files with 43 additions and 0 deletions

View File

@ -17,6 +17,7 @@ services:
- "{{ private_ip }}:8080:8080"
depends_on:
- docker_proxy
- nginx
networks:
- default
- traefik
@ -33,6 +34,14 @@ services:
networks:
- proxy_private
shenanigans:
image: nginx:alpine
restart: unless-stopped
volumes:
- /opt/traefik/nginx.conf:/etc/nginx/conf.d/default.conf:ro
networks:
- proxy_private
networks:
traefik:
external: true