-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
34 lines (32 loc) · 990 Bytes
/
docker-compose.yaml
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
version: '3.8'
services:
fuseki:
build:
context: ./docker/fuseki
dockerfile: Dockerfile
environment:
ADMIN_PASSWORD: password
#ASSEMBLER: /fuseki/configuration/assembler.ttl
volumes:
- ./data:/fuseki/databases
- ./fuseki-data:/staging
#- ./assembler.ttl:/fuseki/configuration/assembler.ttl
ports:
- "3030:3030"
entrypoint:
- "./fuseki-server"
- "--file=/fuseki/databases/spotify_songs.ttl"
- "/spotify_songs"
d3_webserver:
build:
context: ./docker/d3_webserver/
dockerfile: Dockerfile # Assuming your Dockerfile for the JS server is in the root directory
ports:
- "8080:8080"
volumes:
- ./docker/d3_webserver/:/usr/src/app # Mount the project directory to the container
- d3_webserver_node_modules:/usr/src/app/node_modules # Mount the node_modules directory to the container
depends_on:
- fuseki
volumes:
d3_webserver_node_modules: