omnissiah-vault #1
@@ -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:
|
services:
|
||||||
registry-ui:
|
registry-ui:
|
||||||
image: joxit/docker-registry-ui:latest
|
image: joxit/docker-registry-ui:latest
|
||||||
@@ -5,7 +50,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "6001:80"
|
- "6001:80"
|
||||||
volumes:
|
volumes:
|
||||||
- /home/aetos/registry/auth:/auth:ro
|
- *registry_ui_volumes
|
||||||
environment:
|
environment:
|
||||||
REGISTRY_TITLE: "Armory of the Codex"
|
REGISTRY_TITLE: "Armory of the Codex"
|
||||||
REGISTRY_URL: https://dcr.aetoskia.com
|
REGISTRY_URL: https://dcr.aetoskia.com
|
||||||
@@ -32,7 +77,7 @@ services:
|
|||||||
- "6002:3000" # Web UI
|
- "6002:3000" # Web UI
|
||||||
- "222:22" # SSH
|
- "222:22" # SSH
|
||||||
volumes:
|
volumes:
|
||||||
- /home/aetos/gitea:/data
|
- *gitea_volumes
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "drone.aetoskia.com:192.168.1.111"
|
- "drone.aetoskia.com:192.168.1.111"
|
||||||
profiles:
|
profiles:
|
||||||
@@ -44,8 +89,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "6003:80" # Drone UI/API available on https://localhost:6003
|
- "6003:80" # Drone UI/API available on https://localhost:6003
|
||||||
volumes:
|
volumes:
|
||||||
- /home/aetos/drone:/data
|
- *drone_volumes
|
||||||
- /home/aetos/certs:/usr/local/share/ca-certificates:ro
|
|
||||||
environment:
|
environment:
|
||||||
DRONE_GITEA_CLIENT_ID: 8445594d-7c03-41a1-b66d-4296f34fa644
|
DRONE_GITEA_CLIENT_ID: 8445594d-7c03-41a1-b66d-4296f34fa644
|
||||||
DRONE_GITEA_CLIENT_SECRET: gto_f46d6utmlttauajdjxpfgikskb3j5epoohzhpp2r6j2jbed46iaq
|
DRONE_GITEA_CLIENT_SECRET: gto_f46d6utmlttauajdjxpfgikskb3j5epoohzhpp2r6j2jbed46iaq
|
||||||
@@ -89,9 +133,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "6005:5000"
|
- "6005:5000"
|
||||||
volumes:
|
volumes:
|
||||||
- /home/aetos/registry:/var/lib/registry
|
- *registry_volumes
|
||||||
- /home/aetos/registry/auth:/auth:ro
|
|
||||||
- ./registry/config.yml:/etc/docker/registry/config.yml:ro
|
|
||||||
environment:
|
environment:
|
||||||
REGISTRY_AUTH: htpasswd
|
REGISTRY_AUTH: htpasswd
|
||||||
REGISTRY_AUTH_HTPASSWD_REALM: "Registry Realm"
|
REGISTRY_AUTH_HTPASSWD_REALM: "Registry Realm"
|
||||||
|
|||||||
Reference in New Issue
Block a user