-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose-addons.yml
158 lines (132 loc) · 4.21 KB
/
docker-compose-addons.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
version: '3'
include:
- docker-compose.yml
services:
jpo_geo_msg_query:
build:
context: ./services
dockerfile: Dockerfile.geo_msg_query
image: geo_msg_query:latest
restart: on-failure:3
environment:
MONGO_DB_URI: ${MONGO_DB_URI}
MONGO_DB_NAME: ${MONGO_DB_NAME}
MONGO_INPUT_COLLECTIONS: ${GEO_INPUT_COLLECTIONS}
MONGO_GEO_OUTPUT_COLLECTION: ${GEO_DB_NAME}
MONGO_TTL: ${GEO_TTL_DURATION}
LOGGING_LEVEL: ${GEO_LOGGING_LEVEL}
logging:
options:
max-size: '10m'
max-file: '5'
jpo_count_metric:
build:
context: ./services
dockerfile: Dockerfile.count_metric
image: count_metric:latest
restart: on-failure:3
environment:
ENABLE_EMAILER: ${ENABLE_EMAILER}
DEPLOYMENT_TITLE: ${DEPLOYMENT_TITLE}
SMTP_SERVER_IP: ${SMTP_SERVER_IP}
SMTP_USERNAME: ${SMTP_USERNAME}
SMTP_PASSWORD: ${SMTP_PASSWORD}
SMTP_EMAIL: ${SMTP_EMAIL}
MESSAGE_TYPES: ${COUNT_MESSAGE_TYPES}
PROJECT_ID: ${GCP_PROJECT_ID}
PG_DB_HOST: ${PG_DB_HOST}
PG_DB_NAME: ${PG_DB_NAME}
PG_DB_USER: ${PG_DB_USER}
PG_DB_PASS: ${PG_DB_PASS}
DESTINATION_DB: ${COUNT_DESTINATION_DB}
MONGO_DB_URI: ${MONGO_DB_URI}
MONGO_DB_NAME: ${MONGO_DB_NAME}
INPUT_COUNTS_MONGO_COLLECTION_NAME: ${INPUT_COUNTS_MONGO_COLLECTION_NAME}
OUTPUT_COUNTS_MONGO_COLLECTION_NAME: ${OUTPUT_COUNTS_MONGO_COLLECTION_NAME}
KAFKA_BIGQUERY_TABLENAME: ${KAFKA_BIGQUERY_TABLENAME}
LOGGING_LEVEL: ${COUNTS_LOGGING_LEVEL}
logging:
options:
max-size: '10m'
max-file: '5'
rsu_status_check:
build:
context: ./services
dockerfile: Dockerfile.rsu_status_check
image: rsu_status_check:latest
restart: on-failure:3
environment:
RSU_PING: ${RSU_PING}
ZABBIX: ${ZABBIX}
RSU_SNMP_FETCH: ${RSU_SNMP_FETCH}
ZABBIX_ENDPOINT: ${ZABBIX_ENDPOINT}
ZABBIX_USER: ${ZABBIX_USER}
ZABBIX_PASSWORD: ${ZABBIX_PASSWORD}
STALE_PERIOD: ${STALE_PERIOD}
PG_DB_HOST: ${PG_DB_HOST}
PG_DB_NAME: ${PG_DB_NAME}
PG_DB_USER: ${PG_DB_USER}
PG_DB_PASS: ${PG_DB_PASS}
LOGGING_LEVEL: ${RSU_STATUS_LOGGING_LEVEL}
logging:
options:
max-size: '10m'
max-file: '5'
jpo_iss_health_check:
build:
context: ./services
dockerfile: Dockerfile.iss_health_check
image: iss_health_check:latest
restart: on-failure:3
depends_on:
- cvmanager_postgres
environment:
STORAGE_TYPE: ${STORAGE_TYPE}
ISS_API_KEY: ${ISS_API_KEY}
ISS_API_KEY_NAME: ${ISS_API_KEY_NAME}
ISS_PROJECT_ID: ${ISS_PROJECT_ID}
ISS_SCMS_TOKEN_REST_ENDPOINT: ${ISS_SCMS_TOKEN_REST_ENDPOINT}
ISS_SCMS_VEHICLE_REST_ENDPOINT: ${ISS_SCMS_VEHICLE_REST_ENDPOINT}
ISS_KEY_TABLE_NAME: ${ISS_KEY_TABLE_NAME}
PG_DB_HOST: ${PG_DB_HOST}
PG_DB_NAME: ${PG_DB_NAME}
PG_DB_USER: ${PG_DB_USER}
PG_DB_PASS: ${PG_DB_PASS}
PROJECT_ID: ${GCP_PROJECT_ID}
GOOGLE_APPLICATION_CREDENTIALS: ${GOOGLE_APPLICATION_CREDENTIALS}
LOGGING_LEVEL: ${ISS_LOGGING_LEVEL}
volumes:
- ${GOOGLE_APPLICATION_CREDENTIALS}:/google/gcp_credentials.json
logging:
options:
max-size: '10m'
max-file: '5'
firmware_manager:
build:
context: services
dockerfile: Dockerfile.firmware_manager
image: jpo_firmware_manager:latest
restart: on-failure:3
ports:
- '8089:8080'
environment:
PG_DB_HOST: ${PG_DB_HOST}
PG_DB_NAME: postgres
PG_DB_USER: ${PG_DB_USER}
PG_DB_PASS: ${PG_DB_PASS}
BLOB_STORAGE_PROVIDER: ${BLOB_STORAGE_PROVIDER}
BLOB_STORAGE_BUCKET: ${BLOB_STORAGE_BUCKET}
GCP_PROJECT: ${GCP_PROJECT_ID}
GOOGLE_APPLICATION_CREDENTIALS: '/google/gcp_credentials.json'
SMTP_SERVER_IP: ${SMTP_SERVER_IP}
SMTP_EMAIL: ${SMTP_EMAIL}
SMTP_USERNAME: ${SMTP_USERNAME}
SMTP_PASSWORD: ${SMTP_PASSWORD}
LOGGING_LEVEL: ${FIRMWARE_MANAGER_LOGGING_LEVEL}
volumes:
- ${GOOGLE_APPLICATION_CREDENTIALS}:/google/gcp_credentials.json
- ${HOST_BLOB_STORAGE_DIRECTORY}:/mnt/blob_storage
logging:
options:
max-size: '10m'
max-file: '5'