synth.download/beeper/etc/containers/systemd/sharkey-dfdb.container

15 lines
431 B
Text

[Unit]
Description=Sharkey's DragonflyDB process
[Container]
Environment="DFLY_snapshot_cron=* * * * *" DFLY_version_check=false DFLY_default_lua_flags=allow-undeclared-keys DFLY_dbfilename=dump.rdb DFLY_df_snapshot_format=false DFLY_dir=/data
Image=docker.dragonflydb.io/dragonflydb/dragonfly
Network=sharkey
Volume=/var/containers/sharkey/dfdb:/data:z
[Service]
Restart=always
RestartSec=10s
[Install]
WantedBy=default.target