2022-11-30 11:54:02 +08:00
|
|
|
version: '3'
|
2022-11-27 22:22:10 +08:00
|
|
|
services:
|
2024-02-05 13:36:00 +08:00
|
|
|
drone-server:
|
|
|
|
image: drone/drone:latest
|
2022-11-27 22:22:10 +08:00
|
|
|
ports:
|
2024-02-05 13:36:00 +08:00
|
|
|
- 2080:80
|
|
|
|
# - 443:443
|
2022-11-27 22:22:10 +08:00
|
|
|
volumes:
|
2024-02-05 13:36:00 +08:00
|
|
|
- ./drone:/var/lib/drone/
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
restart: always
|
2022-11-27 22:22:10 +08:00
|
|
|
environment:
|
2024-02-05 13:36:00 +08:00
|
|
|
- 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
|
2022-11-27 22:22:10 +08:00
|
|
|
networks:
|
2023-07-08 14:56:37 +08:00
|
|
|
local:
|
|
|
|
name: local
|
|
|
|
external: true
|