Further hackity hack hacking
This commit is contained in:
parent
c7e9c53eb7
commit
45031b7880
|
@ -10,11 +10,8 @@ services:
|
||||||
- REGISTRY_STORAGE_DELETE_ENABLED=true
|
- REGISTRY_STORAGE_DELETE_ENABLED=true
|
||||||
volumes:
|
volumes:
|
||||||
- "registry:/var/lib/registry"
|
- "registry:/var/lib/registry"
|
||||||
configs:
|
|
||||||
- source: config-yml-prod-v1
|
|
||||||
target: /etc/docker/registry/config.yml
|
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- registry-ui-net
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
@ -30,9 +27,9 @@ services:
|
||||||
- "3060:80"
|
- "3060:80"
|
||||||
environment:
|
environment:
|
||||||
- URL=http://registry:5000
|
- URL=http://registry:5000
|
||||||
- REGISTRY_TITLE="Autonomic Container Catalogue"
|
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
- registry-ui-net
|
||||||
depends_on:
|
depends_on:
|
||||||
- registry
|
- registry
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -51,12 +48,9 @@ services:
|
||||||
- "traefik.http.routers.registry.tls.certresolver=staging"
|
- "traefik.http.routers.registry.tls.certresolver=staging"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
registry-ui-net:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
configs:
|
|
||||||
config-yml-prod-v1:
|
|
||||||
file: config.yml
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
registry:
|
registry:
|
||||||
|
|
|
@ -4,6 +4,8 @@ version: "3.7"
|
||||||
services:
|
services:
|
||||||
registry:
|
registry:
|
||||||
image: "registry:2"
|
image: "registry:2"
|
||||||
|
networks:
|
||||||
|
- registry-ui-net
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -15,6 +17,13 @@ services:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
environment:
|
environment:
|
||||||
- URL=http://registry:5000
|
- URL=http://registry:5000
|
||||||
|
networks:
|
||||||
|
- registry-ui-net
|
||||||
|
depends_on:
|
||||||
|
- registry
|
||||||
|
|
||||||
|
networks:
|
||||||
|
registry-ui-net:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
registry:
|
registry:
|
||||||
|
|
Reference in New Issue