forked from datafoodconsortium/prototype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-prod-legacy.yml
81 lines (80 loc) · 1.64 KB
/
docker-compose-prod-legacy.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
version: '3.5'
services:
dfc-fuseki:
image: stain/jena-fuseki:3.10.0
container_name: dfc-fuseki
environment:
ADMIN_PASSWORD: "admin"
volumes:
- ./data/fuseki:/fuseki
- ./data/staging:/staging
ports:
- "3030:3030"
expose:
- "3030"
networks:
- dfc
dfc-middleware:
build:
context: ./dfc-semapps
dockerfile: Dockerfile
container_name: dfc-middleware
depends_on:
- dfc-fuseki
environment:
- SEMAPPS_SPARQL_ENDPOINT=http://dfc-fuseki:3030/
- SEMAPPS_MAIN_DATASET=localData
- SEMAPPS_JENA_USER=admin
- SEMAPPS_JENA_PASSWORD=admin
- SEMAPPS_HOME_URL=http://185.25.192.252:3000/
volumes:
- ./dfc-semapps:/server/app
networks:
- dfc
ports:
- "3000:3000"
expose:
- "3000"
dfc-app:
build:
context: ./dfc-app
dockerfile: ./Dockerfile.dev
container_name: dfc-app
environment:
- APP_PORT=8080
- NODE_ENV=development_docker
- CONFIG_URL=$CONFIG_URL
volumes:
- ./dfc-app/src:/app/src
depends_on:
- dfc-middleware
networks:
- dfc
ports:
- "8080:8080"
expose:
- "8080"
command: bash -c "npm start"
dfc-ui:
build:
context: ./dfc-ui
dockerfile: ./Dockerfile.dev
container_name: dfc-ui
environment:
- URL_SERVER=http://185.25.192.252:8080
volumes:
- ./dfc-ui/src:/app/src
networks:
- dfc
ports:
- "80:8090"
- "8090:8090"
expose:
- "8090"
command: bash -c "npm start"
volumes:
rdf_data:
staging:
networks:
dfc:
name: dfc_network