diff --git a/docker/auth/.gitignore b/docker/auth/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/docker/auth/.gitignore @@ -0,0 +1 @@ +.env diff --git a/docker/auth/docker-compose.yaml b/docker/auth/docker-compose.yaml new file mode 100644 index 0000000..7bbc62f --- /dev/null +++ b/docker/auth/docker-compose.yaml @@ -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 diff --git a/docker/homeautomation/docker-compose.yml b/docker/homeautomation/docker-compose.yml index ebcf120..ea29011 100644 --- a/docker/homeautomation/docker-compose.yml +++ b/docker/homeautomation/docker-compose.yml @@ -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