-
Notifications
You must be signed in to change notification settings - Fork 95
/
docker-compose.yml
46 lines (45 loc) · 1.32 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
45
46
version: '3.7'
services:
fuseki:
hostname: fuseki
build:
context: ./dockerfiles/jena-fuseki2-docker
dockerfile: Dockerfile
args:
JENA_VERSION: 4.8.0
command: --config=/fuseki/skosmos.ttl
environment:
- JAVA_OPTIONS=-Xmx2g -Xms1g
ports:
- ${FUSEKI_PORT:-9030}:3030
volumes:
# You can uncomment the lines below to persist data used in the
# container. For more complete documentation about it, please
# consult the official Apache Jena docs at
# https://github.com/apache/jena/tree/main/jena-fuseki2/jena-fuseki-docker
# - ./dockerfiles/databases:/fuseki/databases
# - ./dockerfiles/logs:/fuseki/logs
- ./dockerfiles/config/skosmos.ttl:/fuseki/skosmos.ttl
user: 'fuseki:fuseki'
fuseki-cache:
hostname: fuseki-cache
image: varnish
security_opt:
- seccomp:unconfined
ports:
- ${CACHE_PORT:-9031}:80
volumes:
- type: bind
source: ./dockerfiles/config/varnish-default.vcl
target: /etc/varnish/default.vcl
skosmos:
hostname: skosmos
build:
context: .
dockerfile: dockerfiles/Dockerfile.ubuntu
ports:
- ${SKOSMOS_PORT:-9090}:80
volumes:
- type: bind
source: ./dockerfiles/config/config-docker-compose.ttl
target: /var/www/html/config.ttl