lumi2/docker-compose.yml

39 lines
789 B
YAML
Raw Normal View History

2022-11-07 21:17:05 +00:00
---
version: "3"
services:
lumi2:
container_name: lumi2
build:
context: .
args:
LUMI2_UID: 1000
LUMI2_GID: 1000
2022-11-07 21:17:05 +00:00
volumes:
- ./config.py/:/app/config.py:ro
environment:
- LUMI2_CONFIG=/app/config.py
2022-11-07 21:17:05 +00:00
ports:
- "8000:80"
depends_on:
- lumi2-openldap
lumi2-openldap:
container_name: lumi2-openldap
image: osixia/openldap
restart: unless-stopped
volumes:
- ./data/openldap/data:/var/lib/ldap
- ./data/openldap/config:/etc/ldap/slapd.d
hostname: openldap
expose:
- 389
environment:
LDAP_ORGANISATION: "Example Inc."
LDAP_DOMAIN: "example.com"
LDAP_ADMIN_PASSWORD: "admin"
LDAP_CONFIG_PASSWORD: "admin"
LDAP_TLS_VERIFY_CLIENT: "never"
2022-11-07 21:17:05 +00:00
...