2020-11-11 19:25:18 +00:00
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
|
|
drone:
|
|
|
|
image: drone/drone:latest
|
|
|
|
ports:
|
|
|
|
- "8080:80"
|
|
|
|
environment:
|
|
|
|
- DRONE_SERVER_HOST=localhost:8080
|
|
|
|
- DRONE_SERVER_PROTO=http
|
|
|
|
- DRONE_SERVER_PROXY_HOST=${DRONE_SERVER_PROXY_HOST}
|
|
|
|
- DRONE_SERVER_PROXY_PROTO=https
|
|
|
|
- DRONE_RPC_SECRET=bea26a2221fd8090ea38720fc445eca6
|
|
|
|
- DRONE_COOKIE_SECRET=e8206356c843d81e05ab6735e7ebf075
|
|
|
|
- DRONE_COOKIE_TIMEOUT=720h
|
|
|
|
- DRONE_GITHUB_CLIENT_ID=${DRONE_GITHUB_CLIENT_ID}
|
|
|
|
- DRONE_GITHUB_CLIENT_SECRET=${DRONE_GITHUB_CLIENT_SECRET}
|
|
|
|
- DRONE_LOGS_DEBUG=true
|
|
|
|
- DRONE_CRON_DISABLED=true
|
|
|
|
volumes:
|
|
|
|
- ./data:/data
|
|
|
|
runner:
|
|
|
|
image: drone/drone-runner-docker:latest
|
|
|
|
environment:
|
|
|
|
- DRONE_RPC_HOST=drone
|
|
|
|
- DRONE_RPC_PROTO=http
|
|
|
|
- DRONE_RPC_SECRET=bea26a2221fd8090ea38720fc445eca6
|
2021-03-18 19:07:48 +00:00
|
|
|
- DRONE_TMATE_ENABLED=true
|
2020-11-11 19:25:18 +00:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|