-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
111 lines (102 loc) · 2.17 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: '3.7'
networks:
testnet:
volumes:
ncdata:
oolog:
oodata:
oooffice:
oopsql:
openldapdata:
services:
elasticsearch:
container_name: elasticsearch
hostname: elasticsearch
# image: docker.elastic.co/elasticsearch/elasticsearch:7.6.0
build:
context: ./elastic
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
# volumes:
# - ./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
- 9300:9300
networks:
- testnet
openldap:
container_name: openldap
hostname: openldap
image: osixia/openldap
volumes:
- openldapdata:/var/lib/ldap
ports:
- 389:389
- 636:636
networks:
- testnet
phpldapadmin-service:
container_name: phpldapadmin
hostname: phpldapadmin
image: osixia/phpldapadmin
environment:
- PHPLDAPADMIN_LDAP_HOSTS=ldap-host
links:
- openldap:ldap-host
volumes:
- openldapdata:/var/lib/ldap
ports:
- 7780:443
networks:
- testnet
lool:
container_name: lool
image: collabora/code:latest
# volumes:
# - ./loolwsd.xml:/etc/loolwsd/loolwsd.xml
environment:
- extra_params=--o:ssl.enable=false
ports:
- 9980:9980
networks:
- testnet
onlyoffice:
container_name: onlyoffice
image: onlyoffice/documentserver:latest
volumes:
- oolog:/var/log/onlyoffice
- oodata:/var/www/onlyoffice/Data \
- oooffice:/var/lib/onlyoffice \
- oopsql:/var/lib/postgresql
ports:
- 8880:80
networks:
- testnet
nextcloud_base:
container_name: nextcloud_base
image: nextcloud:latest
ports:
- 8080:80
volumes:
- ncdata:/var/www/html
networks:
- testnet
# depends_on:
# - lool
# - onlyoffice
nextcloud_config:
container_name: nextcloud_config
image: nextcloud:latest
volumes:
- ncdata:/var/www/html
- ./configure.sh:/configure.sh
command: ["/configure.sh"]
networks:
- testnet
depends_on:
- nextcloud_base