Compare commits
No commits in common. "cc41042fb0cfa4c89bc256eafcd7318168217410" and "daa00efaefa5c3c2a1b96abbcfc83da6353844cc" have entirely different histories.
cc41042fb0
...
daa00efaef
@ -1,52 +1,47 @@
|
|||||||
version: "2.1"
|
version: "2.1"
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=drone
|
- POSTGRES_USER=drone
|
||||||
- POSTGRES_PASSWORD
|
- POSTGRES_PASSWORD
|
||||||
- POSTGRES_DB=dronedb
|
- POSTGRES_DB=dronedb
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/postgres:/var/lib/postgresql/data/
|
- ./data/postgres:/var/lib/postgresql/data/
|
||||||
restart: always
|
restart: always
|
||||||
healthcheck:
|
|
||||||
test: pg_isready -U drone -d dronedb
|
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 5
|
|
||||||
|
|
||||||
server:
|
server:
|
||||||
image: drone/drone:latest
|
image: drone/drone:latest
|
||||||
environment:
|
environment:
|
||||||
- DRONE_GITEA_SERVER=https://git.boba.best
|
- DRONE_GITEA_SERVER=https://git.boba.best
|
||||||
- DRONE_GITEA_CLIENT_ID
|
- DRONE_GITEA_CLIENT_ID
|
||||||
- DRONE_GITEA_CLIENT_SECRET
|
- DRONE_GITEA_CLIENT_SECRET
|
||||||
- DRONE_RPC_SECRET
|
- DRONE_RPC_SECRET
|
||||||
- DRONE_SERVER_HOST=drone.boba.best
|
- DRONE_SERVER_HOST=drone.boba.best
|
||||||
- DRONE_SERVER_PROTO=https
|
- DRONE_SERVER_PROTO=https
|
||||||
- DRONE_GIT_ALWAYS_AUTH=true
|
- DRONE_GIT_ALWAYS_AUTH=true
|
||||||
- DRONE_LOGS_TEXT=true
|
- DRONE_LOGS_TEXT=true
|
||||||
- DRONE_LOGS_PRETTY=true
|
- DRONE_LOGS_PRETTY=true
|
||||||
- DRONE_LOGS_COLOR=true
|
- DRONE_LOGS_COLOR=true
|
||||||
- DRONE_DATABASE_DRIVER=postgres
|
- DRONE_DATABASE_DRIVER=postgres
|
||||||
- DRONE_DATABASE_DATASOURCE=postgres://drone:${POSTGRES_PASSWORD}@postgres:5432/dronedb?sslmode=disable
|
- DRONE_DATABASE_DATASOURCE=postgres://drone:${POSTGRES_PASSWORD}@postgres:5432/dronedb?sslmode=disable
|
||||||
- DRONE_USER_CREATE=username:bbaovanc,admin:true
|
- DRONE_USER_CREATE=username:bbaovanc,admin:true
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8081:80
|
- 127.0.0.1:8081:80
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
||||||
runner:
|
runner:
|
||||||
image: drone/drone-runner-docker:latest
|
image: drone/drone-runner-docker:latest
|
||||||
environment:
|
environment:
|
||||||
- DRONE_RPC_PROTO=https
|
- DRONE_RPC_PROTO=https
|
||||||
- DRONE_RPC_HOST=drone.boba.best
|
- DRONE_RPC_HOST=drone.boba.best
|
||||||
- DRONE_RPC_SECRET
|
- DRONE_RPC_SECRET
|
||||||
- DRONE_RUNNER_CAPACITY=4
|
- DRONE_RUNNER_CAPACITY=4
|
||||||
- DRONE_RUNNER_NAME=hetzboba
|
- DRONE_RUNNER_NAME=hetzboba
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- server
|
- server
|
||||||
|
Reference in New Issue
Block a user