From 778e5f2f6bcf01a4394ac0d2079a47e864d38b58 Mon Sep 17 00:00:00 2001 From: Vishesh 'ironeagle' Bangotra Date: Tue, 21 Oct 2025 16:22:21 +0530 Subject: [PATCH] moving mounts to omnissiah-mounts --- docker-compose.yaml | 56 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 49 insertions(+), 7 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 808cac6..92b89ad 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,3 +1,48 @@ +# Service-specific volume configurations +x-volume-configs: + gitea: &gitea_volumes + - type: bind + source: /mnt/omnissiah-vault/configs/gitea + target: /data + bind: + create_host_path: true + + drone: &drone_volumes + - type: bind + source: /mnt/omnissiah-vault/configs/drone + target: /data + bind: + create_host_path: true + - type: bind + source: /mnt/omnissiah-vault/configs/certs + target: /usr/local/share/ca-certificates:ro + bind: + create_host_path: true + + registry: ®istry_volumes + - type: bind + source: /mnt/omnissiah-vault/data/registry + target: /var/lib/registry + bind: + create_host_path: true + - type: bind + source: /mnt/omnissiah-vault/configs/auth + target: /auth:ro + bind: + create_host_path: true + - type: bind + source: ./registry/config.yml + target: /etc/docker/registry/config.yml:ro + bind: + create_host_path: true + + registry_ui: ®istry_ui_volumes + - type: bind + source: /mnt/omnissiah-vault/configs/auth + target: /auth:ro + bind: + create_host_path: true + services: registry-ui: image: joxit/docker-registry-ui:latest @@ -5,7 +50,7 @@ services: ports: - "6001:80" volumes: - - /home/aetos/registry/auth:/auth:ro + - *registry_ui_volumes environment: REGISTRY_TITLE: "Armory of the Codex" REGISTRY_URL: https://dcr.aetoskia.com @@ -32,7 +77,7 @@ services: - "6002:3000" # Web UI - "222:22" # SSH volumes: - - /home/aetos/gitea:/data + - *gitea_volumes extra_hosts: - "drone.aetoskia.com:192.168.1.111" profiles: @@ -44,8 +89,7 @@ services: ports: - "6003:80" # Drone UI/API available on https://localhost:6003 volumes: - - /home/aetos/drone:/data - - /home/aetos/certs:/usr/local/share/ca-certificates:ro + - *drone_volumes environment: DRONE_GITEA_CLIENT_ID: 8445594d-7c03-41a1-b66d-4296f34fa644 DRONE_GITEA_CLIENT_SECRET: gto_f46d6utmlttauajdjxpfgikskb3j5epoohzhpp2r6j2jbed46iaq @@ -89,9 +133,7 @@ services: ports: - "6005:5000" volumes: - - /home/aetos/registry:/var/lib/registry - - /home/aetos/registry/auth:/auth:ro - - ./registry/config.yml:/etc/docker/registry/config.yml:ro + - *registry_volumes environment: REGISTRY_AUTH: htpasswd REGISTRY_AUTH_HTPASSWD_REALM: "Registry Realm"