-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
44 lines (44 loc) · 967 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
version: '2'
services:
lft-api-gateway:
container_name: lft-api-gateway
build:
context: ./api-gateway
dockerfile: ./Dockerfile
restart: 'on-failure'
links:
- mongo
lft-file-api:
container_name: lft-file-api
volumes:
- "./file-service/uploads:/cpp_server/uploads"
build:
context: ./file-service
dockerfile: ./Dockerfile
links:
- lft-api-gateway
- lft-logging-api
lft-logging-api:
container_name: lft-logging-api
build:
context: ./logging-service
dockerfile: ./Dockerfile
restart: 'on-failure'
links:
- mongo
lft-website:
container_name: lft-website
build:
context: ./website
dockerfile: ./Dockerfile
ports:
- '3000:80'
restart: 'on-failure'
links:
- lft-api-gateway
mongo:
container_name: mongo-lft
image: mongo:4.0
volumes:
- "~/data/db:/usr/src/app/data/db"
command: 'mongod'