drone/docker-compose.yaml
2024-02-05 13:36:00 +08:00

23 lines
611 B
YAML

version: '3'
services:
drone-server:
image: drone/drone:latest
ports:
- 2080:80
# - 443:443
volumes:
- ./drone:/var/lib/drone/
- /var/run/docker.sock:/var/run/docker.sock
restart: always
environment:
- DRONE_GITEA_SERVER: http://gitea
- DRONE_GITEA_CLIENT_ID: 5fc98c4e-dc02-4cda-b382-2f1d2a19f166
- DRONE_GITEA_CLIENT_SECRET: gto_ysxasskopkn7d2ypvxqbec6ty2nw6gbbe7hyurf7yvims7zrupgq
- DRONE_RPC_SECRET: root
- DRONE_SERVER_HOST: happeny.local:2080
- DRONE_SERVER_PROTO: http
networks:
local:
name: local
external: true