-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
63 lines (51 loc) · 1.16 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '3.4'
services:
caddy:
build: ./caddy
ports:
- 80:80
- 443:443
- 8000:8000
volumes:
- caddy_data:/data
- caddy_config:/config
environment:
- FRONTEND_URL=${FRONTEND_URL}
- BACKEND_URL=${BACKEND_URL}
ember:
build: ./frontend
environment:
- BACKEND_URL=${BACKEND_URL}
identifier:
image: semtech/mu-identifier:1.9.1
links:
- dispatcher:dispatcher
environment:
- DEFAULT_ACCESS_CONTROL_ALLOW_ORIGIN_HEADER=*
dispatcher:
build: ./backend/dispatcher
links:
- resources:resources
db:
build: ./backend/virtuoso
environment:
SPARQL_UPDATE: "true"
DEFAULT_GRAPH: "http://mu.semte.ch/application"
ports:
- "8890:8890"
volumes:
- virtuoso_data:/data
resources:
build: ./backend/resources
links:
- db:database
migrations:
build: ./backend/migrations
links:
- db:database
environment:
- BATCH_SIZE=750 # Otherwise virtuoso will create pretty long SQL queries and keep retrying with a smaller batch size until it succeeds
volumes:
caddy_data:
caddy_config:
virtuoso_data: