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

26 lines
766 B
Text
Raw Normal View History

2025-12-29 02:47:23 -06:00
[Unit]
Description=Sharkey's Worker service
2026-01-01 23:04:20 +07:00
After=postgresql.service sharkey-dfdb.service
BindsTo=postgresql.service sharkey-dfdb.service
2025-12-29 02:47:23 -06:00
[Container]
ContainerName=sharkey-worker
2025-12-29 02:47:23 -06:00
Image=registry.activitypub.software/transfem-org/sharkey:develop
2025-12-29 18:41:05 +07:00
Environment=MISSKEY_CONFIG_YML=*.yml
Environment=MISSKEY_CONFIG_DIR=/sharkey/.config
Environment=MK_ONLY_QUEUE=1
2026-01-02 04:38:40 +07:00
EnvironmentFile=/etc/containers/systemd/sharkey/.env.secrets
2025-12-29 18:41:41 +07:00
Network=sharkey.network
2026-01-01 23:25:31 +07:00
Network=postgresql.network
Volume=/var/containers/sharkey/files:/sharkey/files:z
Volume=/var/containers/sharkey/worker:/sharkey/.config:z
2025-12-30 00:44:37 -06:00
Volume=/var/containers/sharkey/default.yml:/sharkey/.config/default.yml:ro,z
# Security
NoNewPrivileges=true
2025-12-29 02:47:23 -06:00
[Service]
Restart=always
RestartSec=10s
[Install]
WantedBy=default.target