mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-27 09:15:05 +03:00
ci/cd: start test containers with Docker Compose
This commit is contained in:
21
tests/setup/docker-compose.yml
Normal file
21
tests/setup/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user