@@ -82,6 +82,7 @@ services:
82
82
83
83
gateway :
84
84
image : georchestra/gateway:latest
85
+ scale : 1 # set to 0 if using security-proxy
85
86
depends_on :
86
87
- database
87
88
volumes :
@@ -94,28 +95,28 @@ services:
94
95
- .envs-hosts
95
96
- .envs-database-georchestra
96
97
97
- # uncomment for oauth 2.0
98
- # cas:
99
- # image: georchestra/cas:latest
100
- # healthcheck:
101
- # test: [ "CMD-SHELL", "curl -s -f http://localhost:8080/cas/login >/dev/null || exit 1" ]
102
- # interval: 30s
103
- # timeout: 10s
104
- # retries: 10
105
- # depends_on:
106
- # ldap:
107
- # condition: service_healthy
108
- # volumes:
109
- # - georchestra_datadir:/etc/georchestra
110
- # environment:
111
- # - JAVA_OPTIONS=-Dorg.eclipse.jetty.annotations.AnnotationParser.LEVEL=OFF
112
- # - XMS=256M
113
- # - XMX=1G
114
- # env_file:
115
- # - .envs-common
116
- # - .envs-ldap
117
- # - .envs-database-georchestra
118
- # restart: always
98
+ cas :
99
+ image : georchestra/ cas:latest
100
+ scale : 0 # set to 1 if need for oauth 2.0 and security-proxy
101
+ healthcheck :
102
+ test : [ "CMD-SHELL", "curl -s -f http://localhost:8080/cas/login >/dev/null || exit 1" ]
103
+ interval : 30s
104
+ timeout : 10s
105
+ retries : 10
106
+ depends_on :
107
+ ldap :
108
+ condition : service_healthy
109
+ volumes :
110
+ - georchestra_datadir:/etc/georchestra
111
+ environment :
112
+ - JAVA_OPTIONS=-Dorg.eclipse.jetty.annotations.AnnotationParser.LEVEL=OFF
113
+ - XMS=256M
114
+ - XMX=1G
115
+ env_file :
116
+ - .envs-common
117
+ - .envs-ldap
118
+ - .envs-database-georchestra
119
+ restart : always
119
120
120
121
header :
121
122
image : georchestra/header:latest
@@ -241,6 +242,7 @@ services:
241
242
242
243
analytics :
243
244
image : georchestra/analytics:latest
245
+ scale : 0 # set to 1 if security proxy is activated
244
246
healthcheck :
245
247
test : ["CMD-SHELL", "curl -s -f http://localhost:8080/analytics/ >/dev/null || exit 1"]
246
248
interval : 30s
@@ -398,17 +400,42 @@ services:
398
400
399
401
rabbitmq :
400
402
image : docker.io/bitnami/rabbitmq:3.12
403
+ scale : 0 # set to 1 if need rabbitmq
401
404
healthcheck :
402
- test : rabbitmq-diagnostics -q ping && rabbitmq-diagnostics -q check_local_alarms
403
- interval : 60s
405
+ test : rabbitmq-diagnostics -q ping
406
+ interval : 15s
404
407
timeout : 30s
405
- retries : 3
408
+ retries : 6
406
409
env_file :
407
410
- .envs-rabbitmq
408
411
environment :
409
412
- RABBITMQ_LOGS=-
410
413
volumes :
411
414
- ' rabbitmq_data:/bitnami/rabbitmq/mnesia'
412
415
restart : always
413
-
414
-
416
+
417
+ proxy :
418
+ image : georchestra/security-proxy:latest
419
+ scale : 0 # set to 1 if need security-proxy but set 0 gateway service
420
+ healthcheck :
421
+ test : ["CMD-SHELL", "curl -s -f http://localhost:8080/_static/bootstrap_3.0.0/css/bootstrap-theme.min.css >/dev/null || exit 1"]
422
+ interval : 30s
423
+ timeout : 10s
424
+ retries : 10
425
+ depends_on :
426
+ ldap :
427
+ condition : service_healthy
428
+ database :
429
+ condition : service_healthy
430
+ volumes :
431
+ - georchestra_datadir:/etc/georchestra
432
+ environment :
433
+ - JAVA_OPTIONS=-Dorg.eclipse.jetty.annotations.AnnotationParser.LEVEL=OFF
434
+ - XMS=256M
435
+ - XMX=1G
436
+ env_file :
437
+ - .envs-common
438
+ - .envs-ldap
439
+ - .envs-hosts
440
+ - .envs-database-georchestra
441
+ restart : always
0 commit comments