Restart always
This commit is contained in:
@@ -6,6 +6,8 @@ version: "3.8"
|
||||
networks:
|
||||
nextcloud_default:
|
||||
external: true
|
||||
ansible_docker_registry:
|
||||
external: true
|
||||
proxy-tier:
|
||||
|
||||
volumes:
|
||||
@@ -18,6 +20,7 @@ volumes:
|
||||
services:
|
||||
nginx:
|
||||
image: nginxproxy/nginx-proxy
|
||||
restart: always
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
@@ -29,6 +32,7 @@ services:
|
||||
- html:/usr/share/nginx/html
|
||||
networks:
|
||||
- nextcloud_default
|
||||
- ansible_docker_registry
|
||||
- proxy-tier
|
||||
environment:
|
||||
SIZE_LIMIT: |
|
||||
@@ -40,6 +44,7 @@ services:
|
||||
|
||||
nginx_acme:
|
||||
image: nginxproxy/acme-companion
|
||||
restart: always
|
||||
volumes_from:
|
||||
- "nginx"
|
||||
volumes:
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
version: "3.8"
|
||||
|
||||
networks:
|
||||
docker_registry:
|
||||
|
||||
services:
|
||||
repository:
|
||||
image: arm64v8/registry:2
|
||||
restart: always
|
||||
ports:
|
||||
- "5000:5000"
|
||||
environment:
|
||||
- VIRTUAL_HOST=registry.rudolf.keenetic.link
|
||||
- LETSENCRYPT_HOST=registry.rudolf.keenetic.link
|
||||
- VIRTUAL_PORT=5000
|
||||
volumes:
|
||||
- /media/DATA/runtime/docker_registry:/var/lib/registry
|
||||
networks:
|
||||
- docker_registry
|
||||
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
repository:
|
||||
image: arm64v8/registry:2
|
||||
ports:
|
||||
- "5000:5000"
|
||||
volumes:
|
||||
- "docker_registry:/var/lib/registry"
|
||||
|
||||
volumes:
|
||||
docker_registry: {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user