forked from OneOceanGroup/Narwhal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (53 loc) · 962 Bytes
/
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
version: '2.0'
services:
database:
build: Narwhal.Database
ports:
- "27017:27017"
volumes:
- .\Playground\Database:/data/db
messaging:
build: Narwhal.Messaging
ports:
- "1883:1883"
service:
build: Narwhal.Service
ports:
- "6161:80"
environment:
- DATABASE_HOST=database
- MESSAGEQUEUE_HOST=messaging
links:
- database
- messaging
app:
build: Narwhal.App
ports:
- "6162:80"
environment:
- SERVICE_URL=http://front/api
#links:
#- front
front:
build: Narwhal.Front
ports:
- "80:80"
environment:
- SERVICE_HOST=service
- SERVICE_PORT=80
- APP_HOST=app
- APP_PORT=80
links:
- service
- app
# importer:
# build: Narwhal.Importer
# volumes:
# - .\Playground\Storage:/data
# etl:
# build: Narwhal.ETL
# volumes:
# - .\Playground\Storage:/data
# links:
# - database
# - messaging