diff --git a/.gitignore b/.gitignore index 75aebf8..3494350 100644 --- a/.gitignore +++ b/.gitignore @@ -240,4 +240,7 @@ temp/ /config test.sh -test.py \ No newline at end of file +test.py + +# Docker volume +/dailynotes-volume diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..d929bd8 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +version: "3" + +services: + + server: + build: . + ports: + - 5000:5000 + volumes: + - ./dailynotes-volume:/app/config + environment: + API_SECRET_KEY: CHANGE_THIS_WITH_SECURE_PASSWORD + DB_ENCRYPTION_KEY: CHANGE_THIS_WITH_SECURE_PASSWORD \ No newline at end of file