Former-commit-id: f13d26771808b8500403dc82085b655be5dc2b85
Former-commit-id: e85fe2271f9d7a77fd6c9fdc1ae0fd355b718e3d
1.0
wanggang 4 years ago
parent 56b1a9863e
commit 7e2a4ae262

@ -35,6 +35,7 @@ networks:
}
```
## 参考
## 其他
1. drone 环境变量https://github.com/drone/drone/blob/master/operator/runner/env.go
1. drone 环境变量https://github.com/drone/drone/blob/master/operator/runner/env.go
2. 邮件通知http://plugins.drone.io/drillster/drone-email/

@ -64,6 +64,7 @@ services:
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ./conf/gitea/custom:/data/gitea/custom
- ./data/gitea:/data
drone: #https://docs.drone.io/server/provider/gitea/ https://github.com/drone/drone
image: drone/drone:2.0.1
@ -78,7 +79,7 @@ services:
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
- DRONE_SERVER_HOST=${IP}:${DRONE_SERVER_HTTP_PORT}
- DRONE_SERVER_PROTO=${DRONE_SERVER_PROTO}
- DRONE_USER_CREATE=username:drone,admin:true
- DRONE_USER_CREATE=username:root,machine:false,admin:true,token:55f24eb3d61ef6ac5e83d550178638dc
volumes:
- ./data/drone:/data
depends_on:

Loading…
Cancel
Save