Dumb idea

master
Jef Roosens 2021-12-29 22:16:39 +01:00
parent a3df952e86
commit b6ff602e04
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ services:
- 'WOODPECKER_OPEN=true'
- 'WOODPECKER_HOST=https://ci.rustybever.be'
- '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_GITEA=true'
- 'WOODPECKER_GITEA_URL=https://git.rustybever.be'
@ -46,14 +46,14 @@ services:
- 'node.labels.class==admin'
healthcheck:
test: pg_isready
test: pg_isready -U woodpecker -d woodpecker
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
environment:
- 'POSTGRES_USER=root'
- 'POSTGRES_USER=woodpecker'
- 'POSTGRES_PASSWORD=woodpecker'
- 'POSTGRES_DB=woodpecker'
volumes: