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: