psql and mastodon
This commit is contained in:
parent
eeefce6c1c
commit
6a6dba369d
12 changed files with 153 additions and 8 deletions
|
|
@ -0,0 +1,23 @@
|
|||
[Unit]
|
||||
Description=Mastodon Dragonfly DB
|
||||
|
||||
[Container]
|
||||
Image=docker.dragonflydb.io/dragonflydb/dragonfly
|
||||
Environment=DFLY_snapshot_cron=* * * * *
|
||||
Environment=DFLY_version_check=false
|
||||
Environment=DFLY_default_lua_flags=allow-undeclared-keys
|
||||
Environment=DFLY_dbfilename=dump.rdb
|
||||
Environment=DFLY_df_snapshot_format=false
|
||||
Environment=DFLY_dir=/data
|
||||
HealthCmd=redis-cli ping
|
||||
HealthInterval=5s
|
||||
HealthRetries=20
|
||||
Network=mastodon.network
|
||||
Volume=/var/containers/mastodon/dragonfly:/data:z
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue