1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-05 17:53:12 +02:00

fix: config

This commit is contained in:
Ivar Conradi Østhus 2022-12-14 19:57:04 +01:00
parent 1a606be6b1
commit 2d11f7220b
No known key found for this signature in database
GPG Key ID: 14F51E4841AF1DE1
2 changed files with 7 additions and 6 deletions

View File

@ -19,7 +19,7 @@ jobs:
# Label used to access the service container # Label used to access the service container
postgres: postgres:
# Docker Hub image # Docker Hub image
image: 'bitnami/postgresql:latest' image: 'postgres'
# Provide the password for postgres # Provide the password for postgres
env: env:
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres

View File

@ -17,14 +17,15 @@ jobs:
image: 'bitnami/postgresql:latest' image: 'bitnami/postgresql:latest'
# Provide the password for postgres # Provide the password for postgres
env: env:
POSTGRES_PASSWORD: postgres POSTGRESQL_DATABASE: postgres
POSTGRESQL_USERNAME: postgres
POSTGRESQL_PASSWORD: postgres
POSTGRESQL_FSYNC: 'off' POSTGRESQL_FSYNC: 'off'
# Set health checks to wait until postgres has started options: >-
--health-cmd "pg_isready -d postgres -U postgres -p 5432" --health-interval 10s --health-timeout 5s --health-retries 5
ports: ports:
- 5432:5432 - 5432:5432
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3