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,8 +5,9 @@ Wants=network-online.target
[Container] [Container]
Image=p3terx/darkhttpd Image=p3terx/darkhttpd
ContainerName=mastodon-darkhttpd
Exec=/mastodon/public/system Exec=/mastodon/public/system
PublishPort=192.168.1.73:42261:80 PublishPort=127.0.0.1:42261:80
Volume=/var/containers/mastodon/public/system:/mastodon/public/system:z Volume=/var/containers/mastodon/public/system:/mastodon/public/system:z
[Service] [Service]

View file

@ -3,6 +3,7 @@ Description=Mastodon Dragonfly DB
[Container] [Container]
Image=docker.dragonflydb.io/dragonflydb/dragonfly Image=docker.dragonflydb.io/dragonflydb/dragonfly
ContainerName=mastodon-dfdb
Environment=DFLY_snapshot_cron=* * * * * Environment=DFLY_snapshot_cron=* * * * *
Environment=DFLY_version_check=false Environment=DFLY_version_check=false
Environment=DFLY_default_lua_flags=allow-undeclared-keys Environment=DFLY_default_lua_flags=allow-undeclared-keys

View file

@ -5,6 +5,7 @@ After=postgresql.service mastodon-dfdb.service
[Container] [Container]
Image=ghcr.io/synth-download/mastodon-ingress:nightly Image=ghcr.io/synth-download/mastodon-ingress:nightly
ContainerName=mastodon-ingress
EnvironmentFile=/var/containers/mastodon/.env.secrets EnvironmentFile=/var/containers/mastodon/.env.secrets
EnvironmentFile=/var/containers/mastodon/.env EnvironmentFile=/var/containers/mastodon/.env
Network=mastodon.network Network=mastodon.network

View file

@ -5,6 +5,7 @@ After=postgresql.service mastodon-dfdb.service
[Container] [Container]
Image=ghcr.io/synth-download/mastodon:nightly Image=ghcr.io/synth-download/mastodon:nightly
ContainerName=mastodon-sidekiq
EnvironmentFile=/var/containers/mastodon/.env.secrets EnvironmentFile=/var/containers/mastodon/.env.secrets
EnvironmentFile=/var/containers/mastodon/.env EnvironmentFile=/var/containers/mastodon/.env
Exec=bundle exec sidekiq Exec=bundle exec sidekiq

View file

@ -5,13 +5,14 @@ After=postgresql.service mastodon-dfdb.service
[Container] [Container]
Image=ghcr.io/synth-download/mastodon-streaming:nightly Image=ghcr.io/synth-download/mastodon-streaming:nightly
ContainerName=mastodon-streaming
EnvironmentFile=/var/containers/mastodon/.env.secrets EnvironmentFile=/var/containers/mastodon/.env.secrets
EnvironmentFile=/var/containers/mastodon/.env EnvironmentFile=/var/containers/mastodon/.env
Exec=node ./streaming/index.js Exec=node ./streaming/index.js
HealthCmd=curl -s --noproxy localhost localhost:4000/api/v1/streaming/health | grep -q 'OK' || exit 1 HealthCmd=curl -s --noproxy localhost localhost:4000/api/v1/streaming/health | grep -q 'OK' || exit 1
Network=mastodon.network Network=mastodon.network
Network=postgresql.network Network=postgresql.network
PublishPort=192.168.1.73:58834:4000 PublishPort=127.0.0.1:58834:4000
[Service] [Service]
Restart=always Restart=always

View file

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

View file

@ -1 +1,2 @@
[Network] [Network]
NetworkName=mastodon