-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (43 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
46 lines (43 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
services:
# OpenLDAP Server
ldap:
image: osixia/openldap:1.5.0
container_name: test-ldap
environment:
LDAP_ORGANISATION: "Test Company"
LDAP_DOMAIN: "example.com"
LDAP_ADMIN_PASSWORD: "admin"
LDAP_CONFIG_PASSWORD: "config"
LDAP_RFC2307BIS_SCHEMA: "true"
LDAP_REMOVE_CONFIG_AFTER_SETUP: "true"
LDAP_TLS_VERIFY_CLIENT: "never"
ports:
- "389:389"
- "636:636"
volumes:
- ./test/ldap/ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom
command: --copy-service
networks:
- test-network
# OpenFGA Server
openfga:
image: openfga/openfga:latest
container_name: test-openfga
command: run
environment:
- OPENFGA_DATASTORE_ENGINE=memory
- OPENFGA_LOG_LEVEL=info
ports:
- "8080:8080"
- "8081:8081"
- "3000:3000"
networks:
- test-network
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8080/healthz"]
interval: 5s
timeout: 3s
retries: 10
networks:
test-network:
driver: bridge