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"