diff --git a/labs/docker-lan/.drone.yml b/labs/docker-lan/.drone.yml new file mode 100644 index 00000000..684dcfe9 --- /dev/null +++ b/labs/docker-lan/.drone.yml @@ -0,0 +1,14 @@ +kind: pipeline +type: docker +name: default + +platform: + arch: amd64 + os: linux + +steps: + - name: config + image: docker/compose:1.29.2 + commands: + - cp .env.example .env + - docker-compose config \ No newline at end of file diff --git a/labs/docker-lan/.env.example b/labs/docker-lan/.env.example index 2314345b..3100e98f 100644 --- a/labs/docker-lan/.env.example +++ b/labs/docker-lan/.env.example @@ -8,9 +8,9 @@ DOCKER_SOCK=/var/run/docker.sock # gitea # required -DRONE_GITEA_CLIENT_ID=d3348ec2-ec0d-4a76-a80c-c668b7a5b998 +DRONE_GITEA_CLIENT_ID= # required -DRONE_GITEA_CLIENT_SECRET=Tuh4cP1qaDjBb9fVES6fgQb7VXhKzoYttuPvKnqfl-k= +DRONE_GITEA_CLIENT_SECRET= # drone DRONE_SERVER_HTTP_PORT=9080 diff --git a/labs/docker-lan/docker-compose.yml b/labs/docker-lan/docker-compose.yml index 220fba5c..7db24d3f 100644 --- a/labs/docker-lan/docker-compose.yml +++ b/labs/docker-lan/docker-compose.yml @@ -78,6 +78,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 volumes: - ./data/drone:/data depends_on: