Dumb idea
parent
a3df952e86
commit
b6ff602e04
|
@ -21,7 +21,7 @@ services:
|
||||||
- 'WOODPECKER_OPEN=true'
|
- 'WOODPECKER_OPEN=true'
|
||||||
- 'WOODPECKER_HOST=https://ci.rustybever.be'
|
- 'WOODPECKER_HOST=https://ci.rustybever.be'
|
||||||
- 'WOODPECKER_DATABASE_DRIVER=postgres'
|
- 'WOODPECKER_DATABASE_DRIVER=postgres'
|
||||||
- 'WOODPECKER_DATABASE_DATASOURCE=postgres://root:woodpecker@db:5432/woodpecker?sslmode=disable'
|
- 'WOODPECKER_DATABASE_DATASOURCE=postgres://woodpecker:woodpecker@db:5432/woodpecker?sslmode=disable'
|
||||||
- 'WOODPECKER_AGENT_SECRET_FILE=/run/secrets/woodpecker_agent_secret'
|
- 'WOODPECKER_AGENT_SECRET_FILE=/run/secrets/woodpecker_agent_secret'
|
||||||
- 'WOODPECKER_GITEA=true'
|
- 'WOODPECKER_GITEA=true'
|
||||||
- 'WOODPECKER_GITEA_URL=https://git.rustybever.be'
|
- 'WOODPECKER_GITEA_URL=https://git.rustybever.be'
|
||||||
|
@ -46,14 +46,14 @@ services:
|
||||||
- 'node.labels.class==admin'
|
- 'node.labels.class==admin'
|
||||||
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: pg_isready
|
test: pg_isready -U woodpecker -d woodpecker
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period: 15s
|
start_period: 15s
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- 'POSTGRES_USER=root'
|
- 'POSTGRES_USER=woodpecker'
|
||||||
- 'POSTGRES_PASSWORD=woodpecker'
|
- 'POSTGRES_PASSWORD=woodpecker'
|
||||||
- 'POSTGRES_DB=woodpecker'
|
- 'POSTGRES_DB=woodpecker'
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue