build: compose with a crontab

This commit is contained in:
2026-04-20 18:58:11 +02:00
parent 1920fe3a00
commit 3064fe5492
4 changed files with 20 additions and 7 deletions
+13 -4
View File
@@ -10,7 +10,16 @@ services:
volumes:
- "./data:/data"
- "./letsencrypt:/etc/letsencrypt"
environment:
- HOST=${HOST}
- TOKEN_SALT=${TOKEN_SALT}
command: run
env_file: .env
command: --debug run
stapler-crontab:
build: .
restart: unless-stopped
volumes:
- "./data:/data"
- "./letsencrypt:/etc/letsencrypt"
- "./crontab:/etc/crontabs/root"
env_file: .env
entrypoint: /usr/sbin/crond -f