-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose-preauth.yaml
100 lines (92 loc) · 2.38 KB
/
docker-compose-preauth.yaml
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
version: "3.1"
volumes:
postgresql_data:
datadir:
driver_opts:
type: none
o: bind
device: $PWD/datadir
services:
database:
image: georchestra/database:latest
environment:
- POSTGRES_USER=georchestra
- POSTGRES_PASSWORD=georchestra
volumes:
- postgresql_data:/var/lib/postgresql/data
restart: always
ports:
- 54321:5432
ldap:
image: georchestra/ldap:latest
environment:
- SLAPD_ORGANISATION=georchestra
- SLAPD_DOMAIN=georchestra.org
- SLAPD_PASSWORD_FILE=/run/secrets/slapd_password.txt
- SLAPD_PASSWORD=
- GEOSERVER_PRIVILEGED_USER_PASSWORD_FILE=/run/secrets/geoserver_privileged_user_passwd.txt
- SLAPD_LOG_LEVEL=32768 # See https://www.openldap.org/doc/admin24/slapdconfig.html#loglevel%20%3Clevel%3E
restart: always
volumes:
- ./datadir/secrets:/run/secrets
ports:
- 3891:389
gateway:
image: georchestra/gateway:latest
depends_on:
- ldap
- database
volumes:
- datadir:/etc/georchestra
environment:
- JAVA_TOOL_OPTIONS=-Dgeorchestra.datadir=/etc/georchestra -Dspring.profiles.active=docker,preauth -Xmx512M -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=0.0.0.0:5005
restart: always
ports:
- 8090:8090
- 5005:5005
header:
image: georchestra/header:latest
volumes:
- datadir:/etc/georchestra
environment:
- JAVA_OPTIONS=-Dorg.eclipse.jetty.annotations.AnnotationParser.LEVEL=OFF
- XMS=256M
- XMX=512M
restart: always
ports:
- 10003:8080
geoserver:
image: georchestra/geoserver:latest
depends_on:
- ldap
volumes:
- datadir:/etc/georchestra
environment:
- JAVA_OPTIONS=-Dorg.eclipse.jetty.annotations.AnnotationParser.LEVEL=OFF
- XMS=256M
- XMX=8G
restart: always
ports:
- 10006:8080
console:
image: georchestra/console:latest
depends_on:
- ldap
- database
volumes:
- datadir:/etc/georchestra
environment:
- JAVA_OPTIONS=-Dorg.eclipse.jetty.annotations.AnnotationParser.LEVEL=OFF
- XMS=256M
- XMX=1G
restart: always
ports:
- 10007:8080
nginx:
image: nginx
depends_on:
- gateway
volumes:
- ./datadir/nginx-preauth/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- 8080:8080