-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
50 lines (47 loc) · 1.1 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
version: '3'
volumes:
fuseki-data:
services:
db:
environment:
MYSQL_DATABASE: db
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
MYSQL_USER: root
image: mysql:latest
ports:
- 3306:3306
web:
image: wugsy:latest
build: .
command: python3 questAPI/manage.py runserver 0.0.0.0:8000
volumes:
- .:/code
- .:/static
ports:
- "8000:8000"
depends_on:
- db
fusekidata:
image: busybox
volumes:
- fuseki-data:/fuseki/databases
fuseki:
image: stain/jena-fuseki:3.4.0
ports:
- "3030:3030"
volumes:
- fuseki-data:/fuseki/databases
environment:
- ADMIN_PASSWORD=admin
- FUSEKI_BASE=/fuseki
- JVM_ARGS=-Xms2g -Xmx4g
nginx:
image: nginx:latest
expose:
- "8001"
volumes:
- ./config/nginx:/etc/nginx/conf.d
- .:/static
depends_on:
- web