Working example with docker-compose

Still need quite a bit of clean-up, but this adds a working docker-compose + Dockerfile setup
This commit is contained in:
Saba
2022-01-23 23:44:38 -05:00
parent 875188dc6f
commit 77fa8718d9
3 changed files with 78 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
version: "3.9"
services:
web:
build:
context: .
args:
- PORT=8000
ports:
- "8000:8000"
volumes:
- .:/code
- /home/saba/notes/:/data/notes/
- /home/saba/embeddings/:/data/generated/
- /home/saba/images/:/data/images/
- /home/saba/ledger/:/data/ledger/
- /home/saba/music/:/data/music/
command: --host="0.0.0.0" --port=8000 -c=docker_sample_config.yml