update ips for masto and add container names

This commit is contained in:
zenfyr 2025-12-31 02:41:25 +07:00
commit 9d71a7c7fa
Signed by: melontini
SSH key fingerprint: SHA256:TtcIcnTnoAB5mqHofsaOxIgiMzfVBxej1AXT7DQdrTE
7 changed files with 10 additions and 3 deletions

View file

@ -5,13 +5,14 @@ After=postgresql.service mastodon-dfdb.service
[Container]
Image=ghcr.io/synth-download/mastodon:nightly
ContainerName=mastodon-web
EnvironmentFile=/var/containers/mastodon/.env.secrets
EnvironmentFile=/var/containers/mastodon/.env
Exec=bundle exec puma -C config/puma.rb
HealthCmd=curl -s --noproxy localhost localhost:3000/health | grep -q 'OK' || exit 1
Network=mastodon.network
Network=postgresql.network
PublishPort=192.168.1.73:46098:3000
PublishPort=127.0.0.1:46098:3000
Volume=/var/containers/mastodon/public/system:/mastodon/public/system:z
Volume=/var/containers/mastodon/init/disable_ssl.rb:/mastodon/config/initializers/disable_ssl.rb:ro,z
Volume=/var/containers/mastodon/shared:/shared:z