-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
91 lines (89 loc) · 3.23 KB
/
docker-compose.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
# Docker Composition for the CancerDataExpo
# =========================================
---
services:
appserver:
image: ${EDRN_IMAGE_OWNER-edrndocker/}cancerdataexpo:${EDRN_CANCERDATAEXPO_VERSION:-latest}
volumes:
-
type: bind
source: ${EDRN_CANCERDATAEXPO_DATA:-/usr/local/labcas/cancerdataexpo/docker-data}/blobstorage
target: /data/blobstorage
consistency: consistent
-
type: bind
source: ${EDRN_CANCERDATAEXPO_DATA:-/usr/local/labcas/cancerdataexpo/docker-data}/log
target: /data/log
consistency: delegated
ports:
-
target: 8080
published: ${EDRN_CANCERDATAEXPO_PORT:-2131}
protocol: tcp
mode: host
networks:
- frontsidebus
- default
environment:
EDRN_CANCERDATAEXPO_VERSION:
EDRN_CANCERDATAEXPO_DATA:
EDRN_CANCERDATAEXPO_PORT:
ZEO_ADDRESS: db:8080
ZEO_SHARED_BLOB_DIR: 'on'
depends_on:
- db
- memory-cache
restart: on-failure
stop_grace_period: 93s
labels:
org.label-schema.name: CancerDataExpo Application Server
org.label-schema.description: Zope appserver running the exposition for cancer data.
db:
image: ${EDRN_IMAGE_OWNER-edrndocker/}cancerdataexpo:${EDRN_CANCERDATAEXPO_VERSION:-latest}
command: zeo
volumes:
-
type: bind
source: ${EDRN_CANCERDATAEXPO_DATA:-/usr/local/labcas/cancerdataexpo/docker-data}/filestorage
target: /data/filestorage
consistency: consistent
-
type: bind
source: ${EDRN_CANCERDATAEXPO_DATA:-/usr/local/labcas/cancerdataexpo/docker-data}/blobstorage
target: /data/blobstorage
consistency: consistent
-
type: bind
source: ${EDRN_CANCERDATAEXPO_DATA:-/usr/local/labcas/cancerdataexpo/docker-data}/log
target: /data/log
consistency: delegated
networks:
- frontsidebus
- default
environment:
EDRN_CANCERDATAEXPO_DATA:
EDRN_CANCERDATAEXPO_VERSION:
restart: on-failure
stop_grace_period: 37s
labels:
org.label-schema.name: CancerDataExpo DB Server
org.label-schema.description: Zope Enterprise Objects DB server for the cancer data exposition.
memory-cache:
image: memcached:1.6.9-alpine
networks:
- frontsidebus
restart: on-failure
stop_grace_period: 23s
labels:
org.label-schema.name: CancerDataExpo Memcached
org.label-schema.description: Memory cached for the cancer data exposition.
networks:
frontsidebus:
driver: bridge
labels:
org.label-schema.name: CancerDataExpo Front Side Bus
org.label-schema.description: Internal bridge network for IPC amongst CancerDataExpo services.
default:
driver: bridge
version: '3.9'
...