From 94a1c61a0feea3fe9aeeae0ac34681090e102d27 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Fri, 6 Sep 2019 14:00:16 +0200
Subject: [PATCH] Add code as volume to enable live changes.
---
docker-compose.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docker-compose.yml b/docker-compose.yml
index c8047c98..6f0347c0 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -14,6 +14,10 @@ services:
restart: always
volumes:
- /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:
depends_on:
- db