Add code as volume to enable live changes.

This commit is contained in:
Patrick Jentsch 2019-09-06 14:00:16 +02:00
parent 25cb960198
commit 94a1c61a0f

View File

@ -14,6 +14,10 @@ services:
restart: always restart: always
volumes: volumes:
- /opaque_storage:/opaque_storage - /opaque_storage:/opaque_storage
- ./app:/home/opaque/app
- ./config.py:/home/opaque/config.py
- ./migrations:/home/opaque/migrations
- ./opaque.py:/home/opaque/opaque.py
daemon: daemon:
depends_on: depends_on:
- db - db