ocis_ldap example: allow to run with podman

Make docker socket path and log driver configurable to be able to run
the example deployment with podman.
This commit is contained in:
Ralf Haferkamp
2023-02-23 12:22:56 +01:00
committed by Ralf Haferkamp
parent 5faceb0950
commit 026842f99c

View File

@@ -32,7 +32,7 @@ services:
- "80:80"
- "443:443"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "${DOCKER_SOCKET_PATH:-/var/run/docker.sock}:/var/run/docker.sock:ro"
- "certs:/certs"
labels:
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
@@ -43,7 +43,7 @@ services:
- "traefik.http.routers.traefik.tls.certresolver=http"
- "traefik.http.routers.traefik.service=api@internal"
logging:
driver: "local"
driver: ${LOG_DRIVER:-local}
restart: always
ocis:
@@ -101,7 +101,7 @@ services:
- "traefik.http.routers.ocis.service=ocis"
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
logging:
driver: "local"
driver: ${LOG_DRIVER:-local}
restart: always
ldap-server:
@@ -122,7 +122,7 @@ services:
volumes:
- ./config/ldap/ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom
logging:
driver: "local"
driver: ${LOG_DRIVER:-local}
restart: always
ldap-manager:
@@ -140,7 +140,7 @@ services:
- "traefik.http.routers.ldap-manager.service=ldap-manager"
- "traefik.http.services.ldap-manager.loadbalancer.server.port=80"
logging:
driver: "local"
driver: ${LOG_DRIVER:-local}
restart: always
volumes: