-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.example
106 lines (101 loc) · 3.36 KB
/
docker-compose.yml.example
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
101
102
103
104
105
# vim: syntax=yaml:
version: '3.6'
services:
'app':
image: 'opertusmundi/api-gateway:${VERSION}'
build:
context: .
volumes:
- type: 'bind'
source: ./secrets/
target: /secrets/
read_only: true
- type: 'bind'
source: ./logs
target: /app/logs
## note: override logging configuration
#- type: 'bind'
# source: ./api-gateway/config/log4j2-syslog.xml
# target: /app/config/log4j2.xml
# read_only: true
- type: 'volume'
source: files_assets
target: /var/local/opertusmundi/files/assets
- type: 'volume'
source: files_contracts
target: /var/local/opertusmundi/files/contracts
- type: 'volume'
source: files_drafts
target: /var/local/opertusmundi/files/drafts
- type: 'volume'
source: files_users
target: /var/local/opertusmundi/files/users
- type: 'volume'
source: files_temp
target: /var/local/opertusmundi/files/temp
- type: 'volume'
source: ingest_input
target: /var/local/opertusmundi/ingest/input
- type: 'volume'
source: profile_input
target: /var/local/opertusmundi/profile/input
environment:
JAVA_OPTS: '-server -Xmx1024m -Xms256m -Djava.security.egd=file:///dev/urandom'
PUBLIC_URL: ${PUBLIC_URL}
SECURITY_CSRF_ENABLED: 'true'
DATABASE_URL: ${DATABASE_URL}
DATABASE_USERNAME: ${DATABASE_USERNAME}
DATABASE_PASSWORD_FILE: /secrets/database-password
JWT_SECRET_FILE: /secrets/jwt-secret
BPM_REST_BASE_URL: ${BPM_REST_BASE_URL}
BPM_REST_USERNAME: ${BPM_REST_USERNAME}
BPM_REST_PASSWORD_FILE: /secrets/bpm-rest-password
MANGOPAY_BASE_URL: https://api.sandbox.mangopay.com
MANGOPAY_CLIENT_ID: ${MANGOPAY_CLIENT_ID}
MANGOPAY_CLIENT_PASSWORD_FILE: /secrets/mangopay-client-password
CATALOGUE_BASE_URL: ${CATALOGUE_BASE_URL}
INGEST_BASE_URL: ${INGEST_BASE_URL}
TRANSFORM_BASE_URL: ${TRANSFORM_BASE_URL}
MAILER_BASE_URL: ${MAILER_BASE_URL}
MESSENGER_BASE_URL: ${MESSENGER_BASE_URL}
RATING_BASE_URL: ${RATING_BASE_URL}
RATING_USERNAME: ${RATING_USERNAME}
RATING_PASSWORD_FILE: /secrets/rating-password
PROFILE_BASE_URL: ${PROFILE_BASE_URL}
PID_BASE_URL: ${PID_BASE_URL}
ELASTICSEARCH_BASE_URL: ${ELASTICSEARCH_BASE_URL}
ELASTICSEARCH_INDICES_ASSETS_INDEX_NAME: ${ELASTICSEARCH_INDICES_ASSETS_INDEX_NAME}
ELASTICSEARCH_INDICES_ASSETS_VIEW_INDEX_NAME: ${ELASTICSEARCH_INDICES_ASSETS_VIEW_INDEX_NAME}
ELASTICSEARCH_INDICES_ASSETS_VIEW_AGGREGATE_INDEX_NAME: ${ELASTICSEARCH_INDICES_ASSETS_VIEW_AGGREGATE_INDEX_NAME}
ELASTICSEARCH_INDICES_PROFILES_INDEX_NAME: ${ELASTICSEARCH_INDICES_PROFILES_INDEX_NAME}
CONTRACT_SIGNPDF_KEY_ALIAS: opertusmundi.eu
ports:
- '8000:8000'
networks:
opertusmundi_network:
aliases:
- 'api'
- 'web'
volumes:
files_assets:
external: true
name: opertusmundi_files_assets
files_drafts:
external: true
name: opertusmundi_files_drafts
files_users:
external: true
name: opertusmundi_files_users
files_contracts:
external: true
name: opertusmundi_files_contracts
files_temp: {}
ingest_input:
external: true
name: opertusmundi_ingest_input
profile_input:
external: true
name: opertusmundi_profile_input
networks:
opertusmundi_network:
external: true