Traefik: Move to host mode
This commit is contained in:
@ -10,7 +10,6 @@ services:
|
||||
- "traefik.http.services.registry.loadbalancer.server.port=5000"
|
||||
image: 'registry:2'
|
||||
networks:
|
||||
- gateway
|
||||
- backend
|
||||
volumes:
|
||||
- registry_data:/var/lib/registry
|
||||
@ -34,7 +33,6 @@ services:
|
||||
- "traefik.http.routers.registry-auth.middlewares=registry-auth-headers"
|
||||
networks:
|
||||
- backend
|
||||
- gateway
|
||||
volumes:
|
||||
- ./auth_config.yaml:/config/auth_config.yaml:ro,Z
|
||||
- ./server.pem:/server.pem:ro,Z
|
||||
@ -44,8 +42,6 @@ volumes:
|
||||
registry_data:
|
||||
|
||||
networks:
|
||||
gateway:
|
||||
external: true
|
||||
backend:
|
||||
internal: true
|
||||
...
|
||||
|
Reference in New Issue
Block a user