-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathdocker-compose-local.yml
157 lines (147 loc) · 3.82 KB
/
docker-compose-local.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
version: "3.3"
services:
mongo-db:
image: mongo:5
restart: always
ports:
- "27017:27017"
volumes:
- type: bind
source: /var/local/indigoeln/mongo-db
target: /data/db
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
postgres-signature:
build: ./signature/database
restart: always
environment:
- POSTGRES_PASSWORD=postgres
ports:
- "5432:5432"
volumes:
- type: bind
source: /var/local/indigoeln/postgres-signature
target: /var/lib/postgresql/data
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
postgres-crs:
build: ./CRS/database
restart: always
environment:
- POSTGRES_PASSWORD=postgres
ports:
- "15432:5432"
volumes:
- type: bind
source: /var/local/indigoeln/postgres-crs
target: /var/lib/postgresql/data
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
bingodb:
build: ./bingodb
environment:
- BINGO_USERNAME=bingo
- BINGO_PASSWORD=pass
- SPRING_HOST=0.0.0.0
# - JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -Djna.debug_load=true -Djna.debug_load.jna=true
- INDIGOELN_LIBRARY_PATH=/tmp/indigolibs
- LD_LIBRARY_PATH=/tmp/indigolibs/linux-x86_64
expose:
- "9999"
# - "5005"
ports:
- "9999:9999"
# - "5005:5005"
volumes:
- type: bind
source: /var/local/indigoeln/bingodb
target: /opt/jars/bingo
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
server:
build: ./server
environment:
- SPRING_DATA_MONGODB_URI=mongodb://mongo-db:27017/indigoeln
# URL for BingoDB api
- BINGODB_API_URL=http://bingodb:9999/api
# Username to access BingoDB api
- BINGODB_USERNAME=bingo
# Password to access BingoDB api
- BINGODB_PASSWORD=pass
# allow cors for UI
- CORS_ORIGIN=http://localhost:9000
# user/password = admin/admin
- DEFAULT_ADMIN_PASSWORD=$$2a$$10$$jawSRFtkzurLE2mDbiAK0O3MDtxvBi1OlbJV8HLFKKpIUC/I7Gyrq
- SPRING_PROFILES_ACTIVE=cors
- SPRING_HOST=0.0.0.0
- SIGNATURESERVICE_URL=http://signature:8080/signatureservice
- INDIGOELN_CLIENT_SIGNATURESERVICE_URL=http://localhost:28080/signatureservice
- CRS_SEARCH_SERVICE_URL=http://crs:8080/crs/search
- CRS_REGISTRATION_SERVICE_URL=http://crs:8080/crs/registration
- CRS_USERNAME=user
- CRS_PASSWORD=pass
# - JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
- INDIGOELN_LIBRARY_PATH=/tmp/indigolibs
- LD_LIBRARY_PATH=/tmp/indigolibs/linux-x86_64
expose:
- "8080"
# - "5005"
ports:
- "8080:8080"
# - "5005:5005"
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
indigoeln-ui:
build: ./ui
expose:
- "9000"
ports:
- "9000:9000"
signature:
build: ./signature
environment:
- DATABASE_CONNECTION_URL=jdbc:postgresql://postgres-signature:5432/postgres
# - JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
expose:
- "8080"
# - "5005:5005"
ports:
- "28080:8080"
# - "5005:5005"
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
crs:
build: ./CRS
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres-crs:5432/postgres
expose:
- "8080"
ports:
- "38080:8080"
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
indigo:
image: epmlsop/indigo-service:latest
ports:
- "8002:80"