From 9d3f205b53cea8417a3731c3a3cfa122de9a6b41 Mon Sep 17 00:00:00 2001 From: Aitzol Date: Wed, 19 Apr 2023 12:54:05 +0200 Subject: [PATCH] settings --- Dockerfile | 2 +- docker-compose.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 62a087f..938921d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN mkdir -p /www WORKDIR /www COPY . . - +RUN cp settings.ini.example settings.ini RUN chmod +x start.sh RUN set -e; \ apk add --no-cache --virtual .build-deps \ diff --git a/docker-compose.yaml b/docker-compose.yaml index 9584bdd..c823a6c 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,10 +2,11 @@ version: '3' services: ldap-python-webui: image: aitzol/ldap-webui:latest + container_name : ldap-python-webui network_mode : host volumes: - ./data:/data:rw - - ./settings.ini:/settings.ini + - ./settings.ini:/www/settings.ini # - ./certs:/container/service/slapd/assets/certs:rw # - ./schema:/container/service/slapd/assets/config/bootstrap/schema/custom #ports: