ci/cd: start test containers with Docker Compose

This commit is contained in:
Elias Schneider
2025-05-22 22:23:54 +02:00
parent 966a566ade
commit ebcf861aa6
5 changed files with 81 additions and 87 deletions

View File

@@ -0,0 +1,21 @@
# This Docker Compose file is used to set up the environment for the tests.
services:
lldap:
build:
context: .
dockerfile: Dockerfile
environment:
- LLDAP_JWT_SECRET=secret
- LLDAP_LDAP_USER_PASS=admin_password
- LLDAP_LDAP_BASE_DN=dc=pocket-id,dc=org
pocket-id:
image: pocket-id:test
ports:
- "1411:1411"
environment:
- APP_ENV=test
build:
args:
- BUILD_TAGS=e2etest
context: ../..
dockerfile: Dockerfile