stuve-it-backend/docker-compose.yml

33 lines
928 B
YAML

services:
pocketbase:
image: gitlab.uni-ulm.de:5050/stuve-it/it-tools/backend
#command:
# - "--debug"
container_name: stuve_it_backend
restart: unless-stopped
volumes:
- pb_data:/pb_data
ports:
- 8090:8090
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1
interval: 5s
timeout: 5s
retries: 5
environment:
LDAP_URL: "ldap://dc.stuve.uni-ulm.de"
LDAP_BIND_DN: "cn=ldapsync,ou=systemaccounts,ou=user,dc=stuve,dc=uni-ulm,dc=de"
LDAP_BIND_PASSWORD: "************"
LDAP_BASE_DN: "ou=useraccounts,ou=user,dc=stuve,dc=uni-ulm,dc=de"
LDAP_USER_FILTER: "(|(objectCategory=person)(objectClass=user))"
LDAP_GROUP_FILTER: "(objectClass=group)"
LDAP_GROUP_BASE_DN: "ou=groups,ou=user,dc=stuve,dc=uni-ulm,dc=de"
LDAP_SYNC_SCHEDULE: "*/1 * * * *"
volumes:
pb_data: