Files
pocket-id-pocket-id-1/tests/setup/docker-compose-postgres.yml

28 lines
709 B
YAML
Raw Normal View History

# This Docker Compose file is used to set up the environment for the tests.
services:
lldap:
extends:
file: docker-compose.yml
service: lldap
postgres:
image: postgres:17
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=pocket-id
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 5s
timeout: 5s
retries: 5
pocket-id:
extends:
file: docker-compose.yml
service: pocket-id
2025-08-24 19:15:26 +02:00
environment:
- DB_PROVIDER=postgres
- DB_CONNECTION_STRING=postgres://postgres:postgres@postgres:5432/pocket-id
depends_on:
postgres:
condition: service_healthy