Added base config
This commit is contained in:
commit
4ad268e2bc
2
README.md
Normal file
2
README.md
Normal file
@ -0,0 +1,2 @@
|
||||
# Underscore Deploy
|
||||
C/I System for Underscore projects.
|
44
config/docker-compose.yml
Normal file
44
config/docker-compose.yml
Normal file
@ -0,0 +1,44 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
drone:
|
||||
image: drone/drone:latest
|
||||
container_name: drone
|
||||
ports:
|
||||
- "880:80"
|
||||
- "4443:443"
|
||||
environment:
|
||||
- DRONE_SERVER_HOST=${DRONE_SERVER_HOST}
|
||||
- DRONE_SERVER_PROTO=${DRONE_SERVER_PROTO}
|
||||
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
|
||||
- DRONE_COOKIE_SECRET=${DRONE_COOKIE_SECRET}
|
||||
- DRONE_COOKIE_TIMEOUT=720h
|
||||
- DRONE_GITEA_CLIENT_ID=${DRONE_GITEA_CLIENT_ID}
|
||||
- DRONE_GITEA_CLIENT_SECRET=${DRONE_GITEA_CLIENT_SECRET}
|
||||
- DRONE_GITEA_SERVER=${DRONE_SERVER_PROTO}://${DRONE_SERVER_HOST}
|
||||
- DRONE_LOGS_DEBUG=true
|
||||
- DRONE_CRON_DISABLED=true
|
||||
- DRONE_USER_CREATE=${DRONE_USER_CREATE}
|
||||
volumes:
|
||||
- ./drone_data/data:/data
|
||||
- ./drone_data/drone:/drone
|
||||
networks:
|
||||
- build_net
|
||||
|
||||
runner:
|
||||
image: drone/drone-runner-docker:latest
|
||||
container_name: runner
|
||||
environment:
|
||||
- DRONE_RPC_HOST=drone
|
||||
- DRONE_RPC_PROTO=http
|
||||
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
|
||||
- DRONE_RUNNER_CAPACITY=2
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./drone_data/drone:/drone
|
||||
networks:
|
||||
- build_net
|
||||
|
||||
networks:
|
||||
build_net:
|
||||
name: build_net
|
7
config/sample.env
Normal file
7
config/sample.env
Normal file
@ -0,0 +1,7 @@
|
||||
DRONE_SERVER_HOST=
|
||||
DRONE_SERVER_PROTO=
|
||||
DRONE_RPC_SECRET=
|
||||
DRONE_COOKIE_SECRET=
|
||||
DRONE_GITEA_CLIENT_ID=
|
||||
DRONE_GITEA_CLIENT_SECRET=
|
||||
DRONE_USER_CREATE=
|
Loading…
Reference in New Issue
Block a user