-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (44 loc) · 1.27 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '3.8'
services:
owncloud:
image: owncloud/ocis:4.0-linux-amd64
container_name: owncloud_ocis
restart: always
ports:
- '9200:9200'
# depends_on:
# - ldap-server
command: [ "-c", "ocis init || true; ocis server" ]
volumes:
- ./ocis/ocis-config:/etc/ocis
- ./ocis/ocis-data:/var/lib/ocis
- ./init.sh:/init.sh
- ./banned-password-list.txt:/etc/ocis/banned-password-list.txt
entrypoint:
- /bin/sh
# ldap-server:
# image: bitnami/openldap:2.6
# entrypoint: ["/bin/sh", "/opt/bitnami/scripts/openldap/docker-entrypoint-override.sh", "/opt/bitnami/scripts/openldap/run.sh" ]
# env_file:
# - .env
# ports:
# - "127.0.0.1:389:1389"
# - "127.0.0.1:636:1636"
# volumes:
# - ./config/ldap/ldif:/ldifs
# - ./config/ldap/schemas:/schemas
# - ./config/ldap/docker-entrypoint-override.sh:/opt/bitnami/scripts/openldap/docker-entrypoint-override.sh
# - ldap-certs:/opt/bitnami/openldap/share
# logging:
# driver: ${LOG_DRIVER:-local}
# restart: always
# ldap-manager:
# image: osixia/phpldapadmin:latest
# env_file:
# - .env
# logging:
# driver: ${LOG_DRIVER:-local}
# restart: always
# volumes:
# certs:
# ldap-certs: