-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
42 lines (42 loc) · 1.5 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
version: '3.8'
services:
postgres:
image: "maurodatamapper/postgres:12.14-alpine"
build: ./postgres
shm_size: 512mb
environment:
POSTGRES_PASSWORD: postgresisawesome
volumes:
- postgres12:/var/lib/postgresql/data
restart: on-failure
mauro-data-mapper:
image: "maurodatamapper/mauro-data-mapper:${MDM_TAG}"
build:
context: mauro-data-mapper
args:
MDM_APPLICATION_COMMIT: "${MDM_APPLICATION_COMMIT}"
MDM_UI_COMMIT: "${MDM_UI_COMMIT}"
ADDITIONAL_PLUGINS: ""
MDM_UI_THEME_NAME: "default"
CACHE_BURST: "${CACHE_BURST}"
MDM_EXPLORER_API_ENDPOINT: "http://localhost:${MDM_PORT}/api"
environment:
PGPASSWORD: postgresisawesome
runtime.config.path: /usr/local/tomcat/conf/runtime.yml
ports:
- "${MDM_PORT}:8080"
depends_on:
- postgres
volumes:
- lucene_index:/lucene
- ./shared_volumes/logs/maurodatamapper:/usr/local/tomcat/logs
- ./shared_volumes/tmp:/tmp
- ./mauro-data-mapper/config/runtime.yml:/usr/local/tomcat/conf/runtime.yml
restart: on-failure
# Persistence capability to systems,
# Any volumes labelled below will ensure persistence when containers removed unless the volume is removed as well
volumes:
postgres12:
driver: local
lucene_index:
driver: local