added relevant profiles to services
This commit is contained in:
@@ -17,6 +17,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "dcr.aetoskia.com:192.168.1.111"
|
- "dcr.aetoskia.com:192.168.1.111"
|
||||||
|
profiles:
|
||||||
|
- private-pi
|
||||||
|
|
||||||
gitea:
|
gitea:
|
||||||
image: gitea/gitea:latest
|
image: gitea/gitea:latest
|
||||||
@@ -32,6 +34,8 @@ services:
|
|||||||
- /home/aetos/gitea:/data
|
- /home/aetos/gitea:/data
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "drone.aetoskia.com:192.168.1.111"
|
- "drone.aetoskia.com:192.168.1.111"
|
||||||
|
profiles:
|
||||||
|
- private-pi
|
||||||
|
|
||||||
drone-server:
|
drone-server:
|
||||||
image: drone/drone:2
|
image: drone/drone:2
|
||||||
@@ -54,6 +58,8 @@ services:
|
|||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "gitea.aetoskia.com:192.168.1.111"
|
- "gitea.aetoskia.com:192.168.1.111"
|
||||||
command: sh -c "update-ca-certificates && drone-server"
|
command: sh -c "update-ca-certificates && drone-server"
|
||||||
|
profiles:
|
||||||
|
- private-pi
|
||||||
|
|
||||||
drone-runner:
|
drone-runner:
|
||||||
image: drone/drone-runner-docker:latest
|
image: drone/drone-runner-docker:latest
|
||||||
@@ -74,6 +80,8 @@ services:
|
|||||||
DRONE_LOGS_DEBUG: true
|
DRONE_LOGS_DEBUG: true
|
||||||
DRONE_LOGS_TRACE: true
|
DRONE_LOGS_TRACE: true
|
||||||
GIT_SSH_COMMAND: "ssh -i /drone-ssh/id_ed25519 -o StrictHostKeyChecking=accept-new"
|
GIT_SSH_COMMAND: "ssh -i /drone-ssh/id_ed25519 -o StrictHostKeyChecking=accept-new"
|
||||||
|
profiles:
|
||||||
|
- server-pi
|
||||||
|
|
||||||
registry:
|
registry:
|
||||||
image: registry:2
|
image: registry:2
|
||||||
@@ -89,3 +97,5 @@ services:
|
|||||||
REGISTRY_AUTH_HTPASSWD_REALM: "Registry Realm"
|
REGISTRY_AUTH_HTPASSWD_REALM: "Registry Realm"
|
||||||
REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
|
REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
|
||||||
restart: always
|
restart: always
|
||||||
|
profiles:
|
||||||
|
- private-pi
|
||||||
|
|||||||
Reference in New Issue
Block a user