Files
traefik/docker-compose.test.yml
T

27 lines
697 B
YAML

networks:
coolify:
external: true
services:
traefik:
image: traefik:v3.6
container_name: traefik-test
restart: "no"
extra_hosts:
- host.docker.internal:host-gateway
networks:
- coolify
ports:
- 127.0.0.1:8001:80
- 127.0.0.1:8080:8080
volumes:
- /opt/appdata/docker/docker-compose/traefik/traefik.yml:/etc/traefik/traefik.yml:ro
- /data/coolify/proxy/:/traefik
- /var/run/docker.sock:/var/run/docker.sock:ro
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
command:
- --configFile=/etc/traefik/traefik.yml
- --api.insecure=true
- --entrypoints.traefik.address=:8080