docker
This commit is contained in:
parent
3bb9646bc4
commit
e6c9b21447
@ -1,4 +1,3 @@
|
|||||||
# FROM alpine:3.14
|
|
||||||
FROM python:3-alpine
|
FROM python:3-alpine
|
||||||
|
|
||||||
RUN apk add --no-cache --upgrade bash
|
RUN apk add --no-cache --upgrade bash
|
||||||
@ -17,5 +16,5 @@ RUN set -e; \
|
|||||||
pip install -r requirements.txt; \
|
pip install -r requirements.txt; \
|
||||||
apk del .build-deps;
|
apk del .build-deps;
|
||||||
|
|
||||||
EXPOSE 80 8080
|
#EXPOSE 9090
|
||||||
ENTRYPOINT ["./start.sh"]
|
ENTRYPOINT ["./start.sh"]
|
||||||
|
@ -2,18 +2,14 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
ldap-python-webui:
|
ldap-python-webui:
|
||||||
image: aitzol/ldap-webui:latest
|
image: aitzol/ldap-webui:latest
|
||||||
|
network_mode : host
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data:rw
|
- ./data:/data:rw
|
||||||
- ./settings.ini:/settings.ini
|
- ./settings.ini:/settings.ini
|
||||||
# - ./certs:/container/service/slapd/assets/certs:rw
|
# - ./certs:/container/service/slapd/assets/certs:rw
|
||||||
# - ./schema:/container/service/slapd/assets/config/bootstrap/schema/custom
|
# - ./schema:/container/service/slapd/assets/config/bootstrap/schema/custom
|
||||||
ports:
|
#ports:
|
||||||
- 9090:80
|
# - 9090:80
|
||||||
environment:
|
environment:
|
||||||
LDAP_ADMIN_PASSWORD: "admin"
|
LDAP_ADMIN_PASSWORD: "admin"
|
||||||
LDAP_READONLY_PASSWORD: "readonly"
|
LDAP_READONLY_PASSWORD: "readonly"
|
||||||
|
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
external: true
|
|
||||||
name: ldap-python-webui-docker_default
|
|
||||||
|
Loading…
Reference in New Issue
Block a user