summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorAndreea Radoescu <randreea23@gmail.com>2024-11-17 19:32:43 +0100
committerAndreea Radoescu <randreea23@gmail.com>2024-11-17 19:32:43 +0100
commit74ea9751acb6d75e0f80fc37b84819a879aa63f9 (patch)
treeaed3de60522661b795497a9b56600bca696f5de6 /docker-compose.yml
parentbda43e5bca1de67b7de7231a61bec9795a9d75cb (diff)
change paths to flashcards repo to work in Docker, added Dockerfile that
installs app and runs the UI - requires the flashcard data to be mounted from outside added docker-compose as a first draft
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..e1339bb
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,12 @@
+version: '3.1'
+services:
+ food-planner:
+ container_name: flashcards
+ image: local/flashcards
+ restart: unless-stopped
+ user: "$SERVICE_UID:$SERVICE_GID"
+ build: .
+ volumes:
+ - .:/app
+ - ./schwiizerduutsch:/app/schwiizerduutsch
+ - $SERVICE_ROOT/data:/data