Files
pocket-id-pocket-id-2/tests/setup/docker-compose.yml
2025-11-26 10:38:15 +01:00

29 lines
671 B
YAML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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: