This repository has been archived on 2024-01-05. You can view files and clone it, but cannot push or open issues or pull requests.
gamma.fogtype.com/compose.yml
Nebel 76feec0be3
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): update drone/drone docker tag to v2.20.0
2023-08-21 13:02:10 +00:00

56 lines
1.9 KiB
YAML

services:
caddy:
image: caddy:2.7.4-alpine@sha256:7e01c08308bc94c1ef3e495f0b2ba469d1f7e8d1a4f2caa2fbe189edf48866a6
restart: unless-stopped
ports:
- "80:80"
- "443:443/udp"
- "443:443/tcp"
- "127.0.0.1:2019:2019"
command: caddy reverse-proxy --from ${SERVER_HOST:?} --to http://drone
volumes:
- caddy_data:/data
- caddy_config:/config
drone:
image: drone/drone:2.20.0@sha256:3f59c8a24c7a1a9b30a6dc81a918beaaced885cddf7d0fad080667933402a82d
restart: unless-stopped
environment:
DRONE_CRON_INTERVAL: 1m
DRONE_GITEA_SERVER: ${DRONE_GITEA_SERVER:?}
DRONE_GITEA_CLIENT_ID: ${DRONE_GITEA_CLIENT_ID:?}
DRONE_GITEA_CLIENT_SECRET: ${DRONE_GITEA_CLIENT_SECRET:?}
DRONE_RPC_SECRET: ${DRONE_RPC_SECRET:?}
DRONE_SERVER_HOST: ${DRONE_SERVER_HOST:?}
DRONE_SERVER_PROTO: ${DRONE_SERVER_PROTO:?}
DRONE_USER_CREATE: ${DRONE_USER_CREATE:?}
volumes:
- drone_data_v2:/data
runner:
image: drone/drone-runner-docker:1.8.3@sha256:513891eb6c8b920c48266f6881402b9df5e3f7ec874a12cd87146ebfd1105bed
restart: unless-stopped
ports:
- "127.0.0.1:3000:3000"
environment:
DRONE_RUNNER_NAME: default
DRONE_RPC_PROTO: http
DRONE_RPC_HOST: drone
DRONE_RPC_SECRET: ${DRONE_RPC_SECRET:?}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
system-runner:
image: drone/drone-runner-docker:1.8.3@sha256:513891eb6c8b920c48266f6881402b9df5e3f7ec874a12cd87146ebfd1105bed
restart: unless-stopped
ports:
- "127.0.0.1:5000:3000"
environment:
DRONE_RUNNER_NAME: system-runner
DRONE_RUNNER_LABELS: instance:system
DRONE_RPC_PROTO: http
DRONE_RPC_HOST: drone
DRONE_RPC_SECRET: ${DRONE_RPC_SECRET:?}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
volumes:
caddy_data:
caddy_config:
drone_data_v2: