-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
26 lines (26 loc) · 918 Bytes
/
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
version: '3'
services:
reviz:
image: lhartung22/reviz
build: .
stdin_open: true
tty: true
depends_on:
# if you don't need parsifal, the next line can be removed
- parsifal
volumes:
# if needed, change the left part up to the colon to an existing path on your host machine
# put any PDF, JSON and Bib files you need in this folder
- ./data:/reviz
parsifal:
build: https://github.com/l-hartung/parsifal.git
image: lhartung22/parsifal
ports:
- '8000:8000'
environment:
# change this value to a random string
- SECRET_KEY=jksidzfhiwenflkajsoguialieiiutzfahwa0e8
volumes:
# if needed, change the left part up to the colon to an existing path on your host machine
- ./parsifal-db:/parsifal-db
command: bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver [::]:8000"