-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
106 lines (106 loc) · 3.93 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
101
102
103
104
105
106
version: '3'
services:
be:
restart: always
image: cloudbaristaorg/mc-costopti-api:edge
networks:
- mcmp_cost_network
ports:
- "9090:9090"
environment:
spring.datasource.hikari.cost.optimize.jdbc-url: ${COST_DB_URL}
spring.datasource.hikari.cost.optimize.username: ${COST_DB_USERNM}
spring.datasource.hikari.cost.optimize.password: ${COST_DB_PW}
tumblebug.url: ${TUMBLEBUG_URL}
tumblebug.username: ${TUMBLEBUG_USERNAME}
tumblebug.password: ${TUMBLEBUG_PASSWORD}
costopti.alarmservice.url: ${ALARM_URL}
costopti.assetcollector.url: ${ASSET_COLLECTOR_URL}
costopti.costcollector.url: ${COST_COLLECTOR_URL}
costopti.costprocessor.url: ${COST_PROCESSOR_URL}
costopti.costselector.url: ${COST_SELECTOR_URL}
fe:
restart: always
image: cloudbaristaorg/mc-costopti-ui:edge
networks:
- mcmp_cost_network
ports:
- "80:80"
costcollector:
restart: always
image: cloudbaristaorg/mc-costopti-costcollector:edge
networks:
- mcmp_cost_network
ports:
- "8081:8081"
environment:
spring.datasource.hikari.batch.jdbc-url: ${COST_DB_URL}
spring.datasource.hikari.batch.username: ${COST_DB_USERNM}
spring.datasource.hikari.batch.password: ${COST_DB_PW}
unusedBatchCronSchedule: ${COST_COLLECT_UNUSED_CRON_SCHEDULE}
curBatchCronSchedule: ${COST_COLLECT_CUR_CRON_SCHEDULE}
aws.data.export.name: ${AWS_CUR_EXPORT_NAME}
aws.data.export.path.prefix: ${AWS_CUR_EXPORT_PATH_PREFIX}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
costprocessor:
restart: always
image: cloudbaristaorg/mc-costopti-costprocessor:edge
networks:
- mcmp_cost_network
ports:
- "8082:8082"
environment:
spring.datasource.hikari.batch.jdbc-url: ${COST_DB_URL}
spring.datasource.hikari.batch.username: ${COST_DB_USERNM}
spring.datasource.hikari.batch.password: ${COST_DB_PW}
unusedProcessCronSchedule: ${COST_PROCESS_UNUSED_CRON_SCHEDULE}
abnormalProcessCronSchedule: ${COST_PROCESS_ABNORMAL_CRON_SCHEDULE}
cost.selector.url: ${COST_SELECTOR_URL}
opti.alarm.url: ${ALARM_URL}
costselector:
restart: always
image: cloudbaristaorg/mc-costopti-costselector:edge
networks:
- mcmp_cost_network
ports:
- "8083:8083"
environment:
spring.datasource.hikari.cost.optimize.jdbc-url: ${COST_DB_URL}
spring.datasource.hikari.cost.optimize.username: ${COST_DB_USERNM}
spring.datasource.hikari.cost.optimize.password: ${COST_DB_PW}
opti.alarm.url: ${ALARM_URL}
alarmservice:
restart: always
image: cloudbaristaorg/mc-costopti-alarm:edge
networks:
- mcmp_cost_network
ports:
- "9000:9000"
environment:
spring.datasource.hikari.slack.jdbc-url: ${SLACK_DB_URL}
spring.datasource.hikari.slack.username: ${SLACK_DB_USERNM}
spring.datasource.hikari.slack.password: ${SLACK_DB_PW}
spring.datasource.hikari.mailing.jdbc-url: ${MAIL_DB_URL}
spring.datasource.hikari.mailing.username: ${MAIL_DB_USERNM}
spring.datasource.hikari.mailing.password: ${MAIL_DB_PW}
spring.datasource.hikari.history.jdbc-url: ${COST_DB_URL}
spring.datasource.hikari.history.username: ${COST_DB_USERNM}
spring.datasource.hikari.history.password: ${COST_DB_PW}
assetcollector:
restart: always
image: cloudbaristaorg/mc-costopti-assetcollector:edge
networks:
- mcmp_cost_network
ports:
- "8091:8091"
environment:
spring.datasource.hikari.batch.jdbc-url: ${COST_DB_URL}
spring.datasource.hikari.batch.username: ${COST_DB_USERNM}
spring.datasource.hikari.batch.password: ${COST_DB_PW}
costopti.be.url: ${COST_BE_URL}
asset.collect.url: ${ASSET_MONITORING_SERVER}
assetCollectBatchCronSchedule: ${ASSET_COLLECT_BATCH_CRON_SCHEDULE}
networks:
mcmp_cost_network:
driver: bridge