forked from sanbales/openmbee-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
100 lines (92 loc) · 2.44 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
version: '3.2'
services:
web:
image: "${MMS_IMAGE:-openmbee/mms:latest}"
container_name: openmbee-mms
environment:
ALF_DATA_DIR: "${MMS_ALFRESCO_DATA_DIR:-/mnt/alf_data}"
APP_USER: "${MMS_USERNAME:-admin}"
APP_PASS: "${MMS_PASSWORD:-admin}"
CATALINA_OPTS: "-Xmx1G -XX:+UseConcMarkSweepGC"
ES_HOST: "${ES_SERVICE_NAME}"
ES_PORT: "${ES_PORT:-9200}"
PG_HOST: "${PG_SERVICE_NAME}"
PG_PORT: "${PG_PORT:-5432}"
PG_DB_NAME: "${PG_DB_NAME:-mms}"
PG_DB_USER: "${PG_USERNAME:-mmsuser}"
PG_DB_PASS: "${PG_PASSWORD:?Missing password for PostgreSQL (PG_PASSWORD)}"
depends_on:
- db
- search
networks:
- internal
ports:
- target: 8080
published: "${MMS_EXTERNAL_PORT:-8080}"
protocol: tcp
mode: host
restart: on-failure
volumes:
- "mmsvol:${MMS_ALFRESCO_DATA_DIR:-/mnt/alf_data}"
search:
image: "${ES_IMAGE:-elasticsearch:5.5}"
container_name: openmbee-elasticsearch
networks:
- internal
ports:
- target: "${ES_PORT:-9200}"
published: "${ES_PORT:-9200}"
protocol: tcp
mode: host
volumes:
- "${ES_CONFIG_FILE}:/config/elasticsearch.yml"
restart: on-failure
db:
image: "${PG_IMAGE:-postgres:9.4-alpine}"
container_name: openmbee-postgres
environment:
POSTGRES_USER: "${PG_USERNAME:-mmsuser}"
POSTGRES_PASSWORD: "${PG_PASSWORD:?Missing password for PostgreSQL (PG_PASSWORD)}"
POSTGRES_PORT: "${PG_PORT:-5432}"
networks:
- internal
ports:
- target: "${PG_PORT:-5432}"
published: "${PG_PORT:-5432}"
protocol: tcp
mode: host
restart: on-failure
pgadmin:
container_name: pgadmin
image: dpage/pgadmin4:4.20
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:[email protected]}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin}
volumes:
- pgadmin:/root/.pgadmin
ports:
- "${PGADMIN_PORT:-5433}:80"
networks:
- internal
restart: on-failure
search-gui:
image: appbaseio/dejavu:3.2.3
container_name: dejavu
ports:
- '1358:1358'
links:
- search
networks:
- internal
restart: on-failure
apache-jena:
container_name: jena
image: "stain/jena:${JENA_VERSION:-3.5.0}"
networks:
- internal
restart: on-failure
volumes:
mmsvol:
pgadmin:
networks:
internal: