-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
44 lines (44 loc) · 1.02 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
version: '3'
services:
mongo:
image: mongo
volumes:
- mongoData:/data/db
environment:
MONGO_PORT: ${MONGO_PORT}
ports:
- "${MONGO_PORT}:27017"
restart: on-failure
rdf4j:
image: tibblue/tese-rdf4j:latest
environment:
RDF4J_DATA: ${RDF4J_DATA}
RDF4J_PORT: ${RDF4J_PORT}
ports:
- "${RDF4J_PORT}:8080"
restart: on-failure
backend:
image: tibblue/tese-backend:latest
environment:
RDF4J_PORT: ${RDF4J_PORT}
MONGO_PORT: ${MONGO_PORT}
VUE_APP_BACKEND_PORT: ${VUE_APP_BACKEND_PORT}
links:
- mongo
- rdf4j
ports:
- "${VUE_APP_BACKEND_PORT}:5000"
restart: on-failure
frontend:
image: tibblue/tese-frontend:latest
environment:
VUE_APP_BACKEND_HOST: ${VUE_APP_BACKEND_HOST}
VUE_APP_BACKEND_PORT: ${VUE_APP_BACKEND_PORT}
VUE_APP_FRONTEND_PORT: ${VUE_APP_FRONTEND_PORT}
links:
- backend
ports:
- "${VUE_APP_FRONTEND_PORT}:8737"
restart: on-failure
volumes:
mongoData: