This repository has been archived on 2024-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
Auto-Homelab/drone/docker-compose.yml
2024-05-04 00:54:33 +00:00

32 lines
957 B
YAML

version: '3'
services:
drone:
image: drone/drone:2.23.0
environment:
- DRONE_GITEA_CLIENT_ID=$DRONE_GITEA_CLIENT_ID
- DRONE_GITEA_CLIENT_SECRET=$DRONE_GITEA_CLIENT_SECRET
- DRONE_GITEA_SERVER=$DRONE_GITEA_SERVER
- DRONE_GIT_ALWAYS_AUTH=true
- DRONE_RPC_SECRET=$DRONE_RPC_SECRET
- DRONE_SERVER_HOST=$DRONE_SERVER_HOST
- DRONE_SERVER_PROTO=https
volumes:
- /home/mafyuh/drone/data:/data
ports:
- "81:80"
- "444:443"
restart: always
drone-runner:
image: drone/drone-runner-docker@sha256:e3595c0a0a60852d2f55750e50df6d2635b20c424d43c419575b46490d6aa864
environment:
- DRONE_RPC_PROTO=https
- DRONE_RPC_HOST=$DRONE_RPC_HOST
- DRONE_RPC_SECRET=$DRONE_RPC_SECRET
- DRONE_RUNNER_CAPACITY=2
- DRONE_RUNNER_NAME=my-runner
ports:
- "3002:3000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped