Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

random fixes and maybe improvements #147

Merged
merged 28 commits into from
Oct 30, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docker tweaks
Ubuntu committed Oct 25, 2020
commit 2f87583d9dd8704f32ab9ee75c4139cbe81008fd
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker/data
5 changes: 4 additions & 1 deletion docker/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -13,6 +13,8 @@ services:
- "13131:13131"
restart: always
indexer:
depends_on:
- server
image: promnesia-indexer
build:
context: ../
@@ -22,4 +24,5 @@ services:
volumes:
- ./data:/data
environment:
CRONTAB: "* * * * * cd /usr/src/promnesia && /usr/local/bin/python3.9 -m promnesia index --config /data/indexer-config.py"
# run once every ten minutes
CRONTAB: "0-59/10 * * * * cd /usr/src/promnesia && /usr/local/bin/python3.9 -m promnesia index --config /data/indexer-config.py"