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

26 lines
779 B
Text

[Unit]
Description=Sharkey's ActivityPub Federation service
Requires=sharkey-dfdb.service
After=sharkey-dfdb.service
[Container]
Image=registry.activitypub.software/transfem-org/sharkey:develop
Environment=MISSKEY_CONFIG_YML=*.yml
Environment=MISSKEY_CONFIG_DIR=/sharkey/.config
Environment=MK_ONLY_SERVER=1
Environment=MK_DISABLE_CLUSTERING=1
Environment=MK_NO_DAEMONS=1
EnvironmentFile=/var/containers/sharkey/.env.secrets
Network=postgresql.network
Network=sharkey.network
PublishPort=192.168.1.73:47815:3002
Volume=/var/containers/sharkey/files:/sharkey/files:z
Volume=/var/containers/sharkey/activity:/sharkey/.config:z
Volume=/var/containers/sharkey/default.yml:/sharkey/.config/default.yml:ro:z
[Service]
Restart=always
RestartSec=10s
[Install]
WantedBy=default.target