Compare commits
2 Commits
62f3514187
...
c311fa2798
Author | SHA1 | Date |
---|---|---|
Lukáš Kucharczyk | c311fa2798 | |
Lukáš Kucharczyk | 8f3069776d |
|
@ -13,6 +13,7 @@ include:
|
||||||
- services/postgres.yml
|
- services/postgres.yml
|
||||||
- services/nextcloud.yml
|
- services/nextcloud.yml
|
||||||
- services/sabnzbd.yml
|
- services/sabnzbd.yml
|
||||||
|
- services/openldap.yml
|
||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
---
|
||||||
|
services:
|
||||||
|
openldap:
|
||||||
|
image: osixia/openldap:latest
|
||||||
|
container_name: openldap
|
||||||
|
networks:
|
||||||
|
public:
|
||||||
|
ipv4_address: 192.168.240.42
|
||||||
|
ports:
|
||||||
|
- 389:389
|
||||||
|
- 636:636
|
||||||
|
volumes:
|
||||||
|
- "${DOCKER_STORAGE_PATH}/openldap/config:/etc/ldap/slapd.d"
|
||||||
|
- "${DOCKER_STORAGE_PATH}/openldap/data:/var/lib/ldap"
|
||||||
|
environment:
|
||||||
|
- LDAP_ORGANISATION=Homelab
|
||||||
|
- LDAP_DOMAIN=${DOMAIN}
|
||||||
|
- LDAP_ADMIN_PASSWORD=kral
|
||||||
|
- LDAP_OPENLDAP_UID=${PUID}
|
||||||
|
- LDAP_OPENLDAP_GID=${PGID}
|
||||||
|
- LDAP_READONLY_USER=true
|
||||||
|
- LDAP_READONLY_USER_USERNAME=readonly
|
||||||
|
- LDAP_READONLY_USER_PASSWORD=readonly
|
||||||
|
profiles:
|
||||||
|
- base
|
||||||
|
restart: unless-stopped
|
|
@ -11,9 +11,6 @@ services:
|
||||||
- "${DOWNLOADS_PATH}/sabnzbd:/downloads"
|
- "${DOWNLOADS_PATH}/sabnzbd:/downloads"
|
||||||
- "${DOWNLOADS_PATH}/sabnzbd-incomplete:/incomplete-downloads"
|
- "${DOWNLOADS_PATH}/sabnzbd-incomplete:/incomplete-downloads"
|
||||||
- "${MEDIA_PATH}:/media"
|
- "${MEDIA_PATH}:/media"
|
||||||
environment:
|
|
||||||
# caddy
|
|
||||||
- TRUSTED_PROXIES=192.168.240.2
|
|
||||||
profiles:
|
profiles:
|
||||||
- base
|
- base
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in New Issue