mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-24 14:04:54 +03:00
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
29 lines
671 B
YAML
29 lines
671 B
YAML
# 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
|
||
ENCRYPTION_KEY: test-encryption-key
|
||
FILE_BACKEND: ${FILE_BACKEND}
|
||
volumes:
|
||
- pocket-id-test-data:/app/data
|
||
build:
|
||
args:
|
||
- BUILD_TAGS=e2etest
|
||
context: ../..
|
||
dockerfile: docker/Dockerfile
|
||
|
||
volumes:
|
||
pocket-id-test-data:
|