ssh cloning
This commit is contained in:
@@ -65,6 +65,7 @@ services:
|
|||||||
- "6004:3000" # optional: exposes runner metrics/debug UI
|
- "6004:3000" # optional: exposes runner metrics/debug UI
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /home/aetos/drone-runner/ssh:/drone-ssh:ro
|
||||||
environment:
|
environment:
|
||||||
DRONE_RPC_PROTO: https
|
DRONE_RPC_PROTO: https
|
||||||
DRONE_RPC_HOST: drone.aetoskia.com
|
DRONE_RPC_HOST: drone.aetoskia.com
|
||||||
@@ -75,10 +76,10 @@ services:
|
|||||||
DRONE_RUNNER_ARCH: arm64
|
DRONE_RUNNER_ARCH: arm64
|
||||||
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"
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "drone.aetoskia.com:192.168.1.111"
|
- "drone.aetoskia.com:192.168.1.111"
|
||||||
- "gitea.aetoskia.com:192.168.1.111"
|
- "gitea.aetoskia.com:192.168.1.111"
|
||||||
command: sh -c "update-ca-certificates && drone-runner-docker"
|
|
||||||
|
|
||||||
registry:
|
registry:
|
||||||
image: registry:2
|
image: registry:2
|
||||||
|
|||||||
Reference in New Issue
Block a user