Move clean up to scripts, not conf

This commit is contained in:
Wietse Wind
2023-10-08 22:13:10 +02:00
parent a47c8b003e
commit 26b875246d
2 changed files with 1 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ services:
stop_grace_period: 0s
volumes:
- ./store:/store
- ./conf/cleanup.sh:/cleanup.sh
- ./scripts/cleanup.sh:/cleanup.sh
restart: unless-stopped
healthcheck:
test: TTL_MINUTES_PREGEN_XPOP=${TTL_MINUTES_PREGEN_XPOP:-60} TTL_DAYS_XPOP_SOURCE_FILES=${TTL_DAYS_XPOP_SOURCE_FILES:-30} sh /cleanup.sh