Former-commit-id: 3fa026a0158edebab834b304cdb2c3a39a8b22fb
Former-commit-id: cb4f45f4278cb7faeac155bfd4fa91c3df87f36c
1.0
wanggang 4 years ago
parent e36c62d2db
commit 56b1a9863e

@ -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

@ -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

@ -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:

Loading…
Cancel
Save