khoj/docker-compose.yml
Saba 77fa8718d9 Working example with docker-compose
Still need quite a bit of clean-up, but this adds a working docker-compose + Dockerfile setup
2022-01-23 23:44:38 -05:00

17 lines
430 B
YAML

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