added Docker host in case TCP is used instead of Unix socket

This commit is contained in:
Bryan Joshua Pedini 2022-03-14 19:14:08 +01:00
parent b67ff0e506
commit f8f9c89696

View File

@ -10,6 +10,8 @@ services:
- GUNICORN_WORKERS=2
- GUNICORN_LOGLEVEL=INFO
- OFFLINE_MODE=False
extra_hosts:
- host.docker.internal:host-gateway
labels:
- traefik.enable=${TRAEFIK_ENABLED}
- traefik.docker.network=traefik