-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
compose.dev.yaml
78 lines (72 loc) · 2.29 KB
/
compose.dev.yaml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
services:
postgres:
image: "postgres:17.2"
environment:
POSTGRES_USER: drinks
POSTGRES_PASSWORD: drinks
POSTGRES_DB: drinks
ports:
- 5432:5432
# user: cn=admin,dc=example,dc=org
# password: admin
openldap:
image: osixia/openldap:1.5.0
environment:
LDAP_LOG_LEVEL: "256"
LDAP_ORGANISATION: "Example Inc."
LDAP_DOMAIN: "flipdot.org"
LDAP_BASE_DN: "dc=flipdot,dc=org"
LDAP_ADMIN_PASSWORD: "admin"
LDAP_CONFIG_PASSWORD: "config"
LDAP_READONLY_USER: "false"
#LDAP_READONLY_USER_USERNAME: "readonly"
#LDAP_READONLY_USER_PASSWORD: "readonly"
LDAP_RFC2307BIS_SCHEMA: "false"
LDAP_BACKEND: "mdb"
LDAP_TLS: "false"
LDAP_REPLICATION: "false"
KEEP_EXISTING_CONFIG: "false"
LDAP_REMOVE_CONFIG_AFTER_SETUP: "false"
LDAP_SEED_INTERNAL_SCHEMA_PATH: "/assets/openldap/custom/schema/"
LDAP_SEED_INTERNAL_LDIF_PATH: "/assets/openldap/custom/ldif/"
ports:
- "389:389"
- "636:636"
volumes:
- ./docker/flipdot.schema:/assets/openldap/custom/schema/flipdot.schema
- ./docker/flipdot.ldif:/assets/openldap/custom/ldif/flipdot.ldif
keycloak:
image: "quay.io/keycloak/keycloak:25.0.6"
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
ports:
- "8080:8080"
command: "start-dev --proxy-headers xforwarded --import-realm"
volumes:
- keycloak:/opt/keycloak/data
# To update the realm, stop keycloak and run:
# docker compose -f compose.dev.yaml run -it keycloak export --file /opt/keycloak/data/import/flipdot.json --realm flipdot
# Attention: The file it exports isn't importable.
# Explanation at https://github.com/flipdot/drinks-touch/pull/213#discussion_r1769129578
- ./keycloak/realms/:/opt/keycloak/data/import
hackertool:
image: osixia/phpldapadmin:latest
environment:
PHPLDAPADMIN_LDAP_HOSTS: "openldap"
PHPLDAPADMIN_HTTPS: "false"
ports:
- "9090:80"
depends_on:
- openldap
mailpit:
image: axllent/mailpit
restart: always
environment:
MP_SMTP_AUTH_ACCEPT_ANY: true
MP_SMTP_AUTH_ALLOW_INSECURE: true
ports:
- 8025:8025
- 1025:1025
volumes:
keycloak: