Set up traefik with docker socket

This commit is contained in:
Colin Hebert
2023-11-05 08:26:30 +11:00
parent 57afe02962
commit e7d9b012f8
2 changed files with 1 additions and 5 deletions

View File

@@ -12,8 +12,8 @@ services:
LEGO_DISABLE_CNAME_SUPPORT: true
networks:
- reverse-proxy
- docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${NASCOMPOSE_SERVICES?}/reverse-proxy/volumes/traefik_acme:/etc/traefik/acme
# Config
- ${NASCOMPOSE_SERVICES?}/reverse-proxy/configs/traefik.yml:/etc/traefik/traefik.yml:ro
@@ -29,6 +29,3 @@ services:
networks:
reverse-proxy:
name: reverse-proxy
docker:
external: true