split docker compose file
This commit is contained in:
17
docker/parts/docker-compose-traefik.yaml
Normal file
17
docker/parts/docker-compose-traefik.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:3.3.4
|
||||
command:
|
||||
- "--api.insecure=true"
|
||||
- "--api.dashboard=true"
|
||||
- "--providers.docker=true"
|
||||
- "--log.level=DEBUG"
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.api.rule=Host(`dashboard.traefik.me`)"
|
||||
- "traefik.http.services.api.loadbalancer.server.port=8080"
|
||||
- "traefik.http.routers.api.service=api@internal"
|
||||
- "traefik.http.routers.api.middlewares=api-auth"
|
||||
- "traefik.http.middlewares.api-auth.basicauth.users=test:$$apr1$$H6uskkkW$$IgXLP6ewTrSuBkTrqE8wj/" # test:test
|
||||
Reference in New Issue
Block a user