-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose_build.yml
62 lines (62 loc) · 1.28 KB
/
docker-compose_build.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
version: '3'
services:
mongo:
image: mongo
volumes:
- mongoData:/data/db
ports:
- "${MONGO_PORT}:27017"
restart: on-failure
rdf4j:
image: tibblue/tese-rdf4j:latest
build:
context: ./rdf4j
dockerfile: Dockerfile
args:
RDF4J_DATA: /root/.RDF4J
RDF4J_PORT: 8080
environment:
RDF4J_DATA: ${RDF4J_DATA}
RDF4J_PORT: ${RDF4J_PORT}
ports:
- "${RDF4J_PORT}:8080"
restart: on-failure
backend:
image: tibblue/tese-backend:latest
build:
context: ./backend
dockerfile: Dockerfile
args:
RDF4J_PORT: 8080
MONGO_PORT: 27017
NODE_PORT: 5000
VUE_PORT: 8737
environment:
RDF4J_PORT: ${RDF4J_PORT}
MONGO_PORT: ${MONGO_PORT}
NODE_PORT: ${NODE_PORT}
VUE_PORT: ${VUE_PORT}
ports:
- "${NODE_PORT}:5000"
links:
- mongo
- rdf4j
restart: on-failure
frontend:
image: tibblue/tese-frontend:latest
build:
context: ./frontend
dockerfile: Dockerfile
args:
NODE_PORT: 5000
VUE_PORT: 8737
environment:
NODE_PORT: ${NODE_PORT}
VUE_PORT: ${VUE_PORT}
ports:
- "${VUE_PORT}:8737"
links:
- backend
restart: on-failure
volumes:
mongoData: