Restart always

This commit is contained in:
2023-12-19 20:33:59 +01:00
parent 9aa1682f83
commit b413631b87
3 changed files with 26 additions and 15 deletions
+5
View File
@@ -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:
+21
View File
@@ -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
-15
View File
@@ -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: {
}