mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-16 09:13:20 +03:00
24 lines
580 B
YAML
24 lines
580 B
YAML
|
|
# 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
|
|||
|
|
depends_on:
|
|||
|
|
postgres:
|
|||
|
|
condition: service_healthy
|