Begin setting up openldap etc

This commit is contained in:
Marko Korhonen 2021-04-19 20:19:41 +03:00
parent b770bb4457
commit 7a9cad5630
3 changed files with 21 additions and 28 deletions

1
docker/auth/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.env

View file

@ -0,0 +1,20 @@
version: "2"
services:
openldap:
container_name: openldap
image: osixia/openldap:stable
environment:
- TZ=Europe/Helsinki
- LDAP_ORGANIZATION="Korhonen"
- LDAP_DOMAIN="korhonen.cc"
- LDAP_ADMIN_PASSWORD="${LDAP_ADMIN_PASSWORD}"
hostname: ldap.korhonen.cc
ports:
- 389:389
- 636:636
restart: unless-stopped
volumes:
- /docker/auth/openldap/ldap:/var/lib/ldap
- /docker/auth/openldap/slapd.d:/etc/ldap/slapd.d
- /etc/localtime:/etc/localtime:ro

View file

@ -64,37 +64,9 @@ services:
restart: unless-stopped
depends_on:
- home-assistant
- opentts
devices:
- "/dev/snd:/dev/snd"
opentts:
image: synesthesiam/opentts
container_name: opentts
ports:
- 5500:5500
command: --marytts-url http://marytts:59125 --mozillatts-url http://mozillatts:5002
tty: true
networks:
- homeautomation
depends_on:
- marytts
- mozillatts
restart: unless-stopped
marytts:
image: synesthesiam/marytts:5.2
container_name: marytts
restart: unless-stopped
tty: true
networks:
- homeautomation
mozillatts:
image: synesthesiam/mozilla-tts
container_name: mozillatts
tty: true
networks:
- homeautomation
node-red:
container_name: node-red
image: nodered/node-red