-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 875 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (36 loc) · 875 Bytes
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
version: '2'
services:
opm-rest:
build: ./rest-api
container_name: opm-rest
restart: on-failure
ports:
- "3000:3000"
environment:
- PORT=3000
- DEBUG=true
- DATA_NAMESPACE=http://localhost:3000
- FUSEKI_HOST=http://fuseki:3030
- FUSEKI_USER=admin
- FUSEKI_PASS=admin
command: node_modules/.bin/nodemon -L /usr/src/app/index.js
volumes:
- ./rest-api/api:/usr/src/app/api
- ./rest-api/index.js:/usr/src/app/index.js
- ./rest-api/config.json:/usr/src/app/config.json
links:
- fuseki
fuseki:
container_name: fuseki-db
restart: on-failure
image: stain/jena-fuseki
ports:
- "3030:3030"
volumes:
- fuseki-data:/fuseki
- ./fuseki-staging:/staging
- ./shiro.ini:/fuseki/shiro.ini
logging:
driver: none
volumes:
fuseki-data: