# vim: ft=systemd
[Container]
Image=docker.io/lardbit/nefarious:latest
Pod=nefarious.pod
Entrypoint=/app/entrypoint-celery.sh

Environment=DATABASE_URL=sqlite:////config/db.sqlite3 REDIS_HOST=localhost HOST_DOWNLOAD_PATH={{ host_download_dir }} "NEFARIOUS_USER={{ nefarious_admin_user }}" "NEFARIOUS_PASS={{ nefarious_admin_pass }}" CONFIG_PATH=/config  NUM_CELERY_WORKERS=1 HOST_DOWNLOAD_UID=0
Volume={{ nefarious_config_dir }}:/config

AutoUpdate=registry

[Service]
Restart=always

[Install]
WantedBy=default.target
