Files
2026-10-11 00:16:20 +02:00

39 lines
1.1 KiB
YAML
Raw Permalink 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_EMAIL=admin@pocket-id.org
- LLDAP_LDAP_USER_PASS=admin_password
- LLDAP_LDAP_BASE_DN=dc=pocket-id,dc=org
scim-test-server:
image: ghcr.io/pocket-id/scim-test-server:latest
ports:
- '18123:8080'
pocket-id:
image: pocket-id:test
extra_hosts:
- 'host.docker.internal:host-gateway'
ports:
- '1411:1411'
environment:
APP_ENV: test
ENCRYPTION_KEY: test-encryption-key
FILE_BACKEND: ${FILE_BACKEND}
OUTBOUND_ALLOWED_HOSTS_BACKCHANNEL_LOGOUT: private,loopback,host.docker.internal
OUTBOUND_ALLOWED_HOSTS_SCIM: private,loopback,host.docker.internal
OUTBOUND_ALLOWED_HOSTS_FEDERATED_JWKS: private,loopback,host.docker.internal
volumes:
- pocket-id-test-data:/app/data
build:
args:
- BUILD_TAGS=e2etest
context: ../..
dockerfile: docker/Dockerfile
volumes:
pocket-id-test-data: