Untitled
unknown
plain_text
9 days ago
717 B
4
Indexable
Never
version: '3.8' services: traefik: image: traefik:v2.10 command: - "--api.dashboard=true" - "--providers.docker=true" - "--entrypoints.web.address=:80" - "--entrypoints.web.address=[::]:80" # Obsługa IPv6 ports: - "80:80" volumes: - "/var/run/docker.sock:/var/run/docker.sock:ro" networks: - web hello-world: image: crccheck/hello-world labels: - "traefik.enable=true" - "traefik.http.routers.helloworld.rule=Host(`admin.mydomain.pl`)" - "traefik.http.routers.helloworld.entrypoints=web" - "traefik.http.services.helloworld.loadbalancer.server.port=80" networks: - web networks: web: driver: bridge
Leave a Comment