2025-05-22 22:23:54 +02:00
|
|
|
|
# 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:
|
2025-06-27 23:33:26 +02:00
|
|
|
|
test: ['CMD-SHELL', 'pg_isready -U postgres']
|
2025-05-22 22:23:54 +02:00
|
|
|
|
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
|
2025-05-22 22:23:54 +02:00
|
|
|
|
depends_on:
|
|
|
|
|
|
postgres:
|
2025-06-27 23:33:26 +02:00
|
|
|
|
condition: service_healthy
|