From 0a48042c2df0f6243a8ec466631c319122a2bc01 Mon Sep 17 00:00:00 2001 From: msnie Date: Fri, 31 Jan 2025 11:54:30 +0100 Subject: [PATCH] adding mastodon --- mastodon/docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mastodon/docker-compose.yml b/mastodon/docker-compose.yml index 42ee025..3bdbc47 100644 --- a/mastodon/docker-compose.yml +++ b/mastodon/docker-compose.yml @@ -33,13 +33,13 @@ services: - db.env ports: - 3344:3000 - command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000" + command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3344" networks: - traefik - internal_network healthcheck: # prettier-ignore - test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:3000/health || exit 1'] + test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:3344/health || exit 1'] depends_on: - db - redis @@ -50,7 +50,7 @@ services: - traefik.http.routers.mastodonweb.rule=Host(`kvist.knast.cc`) - traefik.http.routers.mastodonweb.entrypoints=websecure - traefik.http.routers.mastodonweb.tls.certresolver=letsencr - - traefik.http.services.mastodonweb.loadbalancer.server.port=3000 + - traefik.http.services.mastodonweb.loadbalancer.server.port=3344 streaming: image: ghcr.io/mastodon/mastodon-streaming:v4.3.3 @@ -66,7 +66,7 @@ services: - internal_network healthcheck: # prettier-ignore - test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1'] + test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:4433/api/v1/streaming/health || exit 1'] depends_on: - db - redis @@ -75,7 +75,7 @@ services: - traefik.http.routers.mastodonstreaming.rule=(Host(`kvist.knast.cc`) && PathPrefix(`/api/v1/streaming`)) - traefik.http.routers.mastodonstreaming.entrypoints=websecure - traefik.http.routers.mastodonstreaming.tls.certresolver=letsencr - - traefik.http.services.mastodonstreaming.loadbalancer.server.port=4000 + - traefik.http.services.mastodonstreaming.loadbalancer.server.port=4433 sidekiq: