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