This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
traefik-development/docker-compose.yaml

25 lines
552 B
YAML
Raw Normal View History

2021-02-03 16:10:13 +00:00
version: "3.3"
networks:
traefik_proxy:
external: true
services:
reverse-proxy:
image: "traefik:v2.4"
command:
- "--api.debug=true"
- "--api.insecure=true"
- "--entrypoints.traefik_proxy.address=:80"
- "--log.level=DEBUG"
- "--providers.docker.exposedbydefault=false"
- "--providers.docker.network=traefik_proxy"
- "--providers.docker=true"
ports:
- "80:80"
- "8080:8080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
networks:
- traefik_proxy