added bitwarden and migrated to debian
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
2022-10-20 01:09:59 +02:00
parent 6a63e9cd88
commit a569e48273
3 changed files with 16 additions and 12 deletions

View File

@@ -16,16 +16,18 @@ services:
volumes:
- ./scripts:/scripts
- ./logs:/var/log
- ./crontabs:/etc/cron.d:ro
environment:
TZ: Europe/Rome
CRONTAB: >
*/5 7-22 * * * /scripts/test.py
*/10 7-22 * * * /scripts/test2.py
```
```bash
mkdir scripts logs
mkdir scripts logs crontabs
touch scripts/test.py && chmod +x scripts/test.py
touch scripts/test2.py && chmod +x scripts/test2.py
cat <<EOF >crontabs/myscripts
*/5 7-22 * * * /scripts/test.py
*/10 7-22 * * * /scripts/test2.py
EOF
docker-compose up -d
```