-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
58 lines (53 loc) · 1.89 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
version: '3.7'
services:
#############################################################################################
### SPLUNK DEV BOX ###
#############################################################################################
notification-service-splunk:
image: splunk/splunk:latest
environment:
- SPLUNK_PASSWORD=${SPLUNK_PASSWORD}
- SPLUNK_START_ARGS=--accept-license
ports:
- "7000:8000"
- "8088:8088"
networks:
notification-net:
ipv4_address: 172.20.0.5
#############################################################################################
### SPLUNK INIT ###
#############################################################################################
splunk-init:
build:
context: ./splunk
environment:
- SPLUNK_PASSWORD=${SPLUNK_PASSWORD}
- SPLUNK_TOKEN=${SPLUNK_TOKEN}
networks:
- notification-net
#############################################################################################
### NTT Data notification service ###
#############################################################################################
notification-service:
build:
context: .
args:
- SERVICE_NAME=notification-service
- MVN_PROFILES=openshift
ports:
- "7080:8080"
environment:
- spring_profiles_active=${spring_profiles_active}
- SPLUNK_URL=${SPLUNK_URL}
- SPLUNK_TOKEN=${SPLUNK_TOKEN}
- TOKENS=${TOKENS}
- UPDATE_CARD_BASE=${UPDATE_CARD_BASE}
networks:
notification-net:
ipv4_address: 172.20.0.6
networks:
notification-net:
driver: "bridge"
ipam:
config:
- subnet: 172.20.0.0/24