any.software.nefarious-podman: add role
This commit is contained in:
parent
13d834a316
commit
00342d5027
10 changed files with 203 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue