You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.4 KiB
YAML

version: '3.4'
services:
drone:
ports:
- '8008:80'
- '444:443'
restart: always
container_name: drone
volumes:
- /home/ronnic/Configs/drone/drone-storage:/data
environment:
- DRONE_GITEA_CLIENT_ID=abc9951e-c64e-4798-8162-9f71f5a2a259
- DRONE_GITEA_CLIENT_SECRET=gto_hbdoigb5ewvtm2hkckpnciunzoenlhb3cesfonjsqmffuxs2yjla
- DRONE_GITEA_SERVER=https://gitea.rx-nx01.com
- DRONE_RPC_SECRET=wb5556g7zviu6cmeflqd27lqqlrtjfogj2iflpc5r2zj2np4d5aa
- DRONE_SERVER_HOST=https://drone.rx-nx01.com
- DRONE_SERVER_PROTO=https
- DRONE_USER_CREATE=username:ronnic,admin:true
image: drone/drone:2
networks:
- drone
drone-runner:
image: drone/drone-runner-docker:1
restart: always
container_name: drone-runner
depends_on:
- drone
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_RPC_HOST=drone
- DRONE_RPC_PROTO=http
- DRONE_RPC_SECRET=wb5556g7zviu6cmeflqd27lqqlrtjfogj2iflpc5r2zj2np4d5aa
- DRONE_RUNNER_CAPACITY=2
- DRONE_RUNNER_NAME=my-drone-runner
networks:
- drone
networks:
drone:
external: false
volumes:
drone-storage:
external: false