66 lines
1.8 KiB
Bash
66 lines
1.8 KiB
Bash
|
########
|
||
|
# DOCKER
|
||
|
|
||
|
#DOCKER_CONTEXT=
|
||
|
#DOCKER_HOST=
|
||
|
SERVICES_DIR=../..
|
||
|
COMPOSE_FILE=${SERVICES_DIR}/drone/server/docker-compose.yml:${SERVICES_DIR}/drone/server/docker-compose.user.yml:${SERVICES_DIR}/drone/server/docker-compose.traefik.yml:${SERVICES_DIR}/drone/server/docker-compose.postgres.yml:${SERVICES_DIR}/drone/server/docker-compose.header.yml:${SERVICES_DIR}/drone/server/docker-compose.gitea.yml:${SERVICES_DIR}/drone/server/docker-compose.cookie.yml:${SERVICES_DIR}/postgres/docker-compose.yml
|
||
|
#COMPOSE_PROJECT_NAME=
|
||
|
|
||
|
|
||
|
## DRONE SERVER
|
||
|
# https://docs.drone.io/server/reference/
|
||
|
|
||
|
### Docker
|
||
|
# https://hub.docker.com/r/drone/drone/tags
|
||
|
DRONE_SERVER_IMAGE=drone/drone:2.8.0
|
||
|
DRONE_SERVER_VOLUME_NAME=drone-server
|
||
|
DRONE_SERVER_CONTAINER_NAME=drone-server
|
||
|
|
||
|
### Drone
|
||
|
|
||
|
DRONE_RPC_SECRET=change-me
|
||
|
DRONE_SERVER_HOST=ci.cool.life
|
||
|
DRONE_SERVER_PROTO=https
|
||
|
|
||
|
### User
|
||
|
DRONE_ADMIN_USER=resilien
|
||
|
DRONE_ADMIN_TOKEN=change-me
|
||
|
DRONE_USER_FILTER=resilien
|
||
|
DRONE_REGISTRATION_CLOSED=true
|
||
|
|
||
|
### Gitea
|
||
|
# https://docs.drone.io/server/provider/gitea/
|
||
|
#DRONE_GIT_ALWAYS_AUTH=
|
||
|
DRONE_GITEA_SERVER=gitea.cool.life
|
||
|
DRONE_GITEA_CLIENT_ID=UI76T78G-HDZ8-7CSD-6SDZ-YUIDG8Z7DSQ8
|
||
|
DRONE_GITEA_CLIENT_SECRET=change-me
|
||
|
|
||
|
## Header
|
||
|
# https://docs.drone.io/server/headers/
|
||
|
#DRONE_HTTP_SSL_REDIRECT=
|
||
|
#DRONE_HTTP_SSL_TEMPORARY_REDIRECT=
|
||
|
#DRONE_HTTP_SSL_HOST=
|
||
|
#DRONE_HTTP_STS_SECONDS=
|
||
|
|
||
|
### Cookie
|
||
|
# https://docs.drone.io/server/cookie/
|
||
|
DRONE_COOKIE_SECRET=change-me
|
||
|
#DRONE_COOKIE_TIMEOUT=720h
|
||
|
|
||
|
### POSTGRES
|
||
|
# https://docs.drone.io/server/storage/encryption/
|
||
|
DRONE_DATABASE_SECRET=change-me
|
||
|
POSTGRES_USER=user
|
||
|
POSTGRES_PASSWORD=password
|
||
|
POSTGRES_VOLUME_NAME=postgres
|
||
|
POSTGRES_CONTAINER_NAME=postgres
|
||
|
POSTGRES_DB=drone
|
||
|
|
||
|
#########
|
||
|
# TRAEFIK
|
||
|
|
||
|
#TRAEFIK_NETWORK_NAME=
|
||
|
#TRAEFIK_ROUTER_NAME= # Don't use char '.'
|
||
|
#TRAEFIK_ENTRYPOINTS=
|