diff --git a/labs/docker-lan/README.md b/labs/docker-lan/README.md index 1645755e..d8f73ae8 100644 --- a/labs/docker-lan/README.md +++ b/labs/docker-lan/README.md @@ -35,6 +35,7 @@ networks: } ``` -## 参考 +## 其他 -1. drone 环境变量:https://github.com/drone/drone/blob/master/operator/runner/env.go \ No newline at end of file +1. drone 环境变量:https://github.com/drone/drone/blob/master/operator/runner/env.go +2. 邮件通知:http://plugins.drone.io/drillster/drone-email/ \ No newline at end of file diff --git a/labs/docker-lan/conf/gitea/custom/app.ini b/labs/docker-lan/conf/gitea/custom/app.ini new file mode 100644 index 00000000..e69de29b diff --git a/labs/docker-lan/docker-compose.yml b/labs/docker-lan/docker-compose.yml index 7db24d3f..96ef1f0d 100644 --- a/labs/docker-lan/docker-compose.yml +++ b/labs/docker-lan/docker-compose.yml @@ -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: