Initial commit on Forgejo
All checks were successful
CI and deploy / Test (push) Successful in 4m52s
CI and deploy / Deploy production (push) Successful in 23s

Fresh repository history for elektrine/tarakan hosted at
https://git.elektrine.com/elektrine/tarakan.
This commit is contained in:
Maxfield Luke 2026-07-29 04:43:40 -04:00
commit af6077b9c3
455 changed files with 78366 additions and 0 deletions

View file

@ -0,0 +1,23 @@
[Unit]
Description=Back up Tarakan database and hosted repositories
Requires=docker.service
After=docker.service
[Service]
Type=oneshot
User=linuxuser
Group=linuxuser
WorkingDirectory=/opt/tarakan
ExecStart=/opt/tarakan/scripts/deploy/backup.sh
# The backup process only needs its application directory and Docker.
NoNewPrivileges=true
PrivateTmp=true
# Debian's Docker CLI discovers its Compose plugin through a home-visible path.
# Keep home directories immutable while allowing plugin discovery.
ProtectHome=read-only
ProtectSystem=full
ReadWritePaths=/opt/tarakan/backups
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,11 @@
[Unit]
Description=Run the Tarakan backup daily
[Timer]
OnCalendar=*-*-* 03:17:00 UTC
RandomizedDelaySec=15m
Persistent=true
Unit=tarakan-backup.service
[Install]
WantedBy=timers.target