adding mastodon
This commit is contained in:
@@ -33,13 +33,13 @@ services:
|
|||||||
- db.env
|
- db.env
|
||||||
ports:
|
ports:
|
||||||
- 3344:3000
|
- 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:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
- internal_network
|
- internal_network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# prettier-ignore
|
# 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:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
@@ -50,7 +50,7 @@ services:
|
|||||||
- traefik.http.routers.mastodonweb.rule=Host(`kvist.knast.cc`)
|
- traefik.http.routers.mastodonweb.rule=Host(`kvist.knast.cc`)
|
||||||
- traefik.http.routers.mastodonweb.entrypoints=websecure
|
- traefik.http.routers.mastodonweb.entrypoints=websecure
|
||||||
- traefik.http.routers.mastodonweb.tls.certresolver=letsencr
|
- traefik.http.routers.mastodonweb.tls.certresolver=letsencr
|
||||||
- traefik.http.services.mastodonweb.loadbalancer.server.port=3000
|
- traefik.http.services.mastodonweb.loadbalancer.server.port=3344
|
||||||
|
|
||||||
streaming:
|
streaming:
|
||||||
image: ghcr.io/mastodon/mastodon-streaming:v4.3.3
|
image: ghcr.io/mastodon/mastodon-streaming:v4.3.3
|
||||||
@@ -66,7 +66,7 @@ services:
|
|||||||
- internal_network
|
- internal_network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# prettier-ignore
|
# 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:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
@@ -75,7 +75,7 @@ services:
|
|||||||
- traefik.http.routers.mastodonstreaming.rule=(Host(`kvist.knast.cc`) && PathPrefix(`/api/v1/streaming`))
|
- traefik.http.routers.mastodonstreaming.rule=(Host(`kvist.knast.cc`) && PathPrefix(`/api/v1/streaming`))
|
||||||
- traefik.http.routers.mastodonstreaming.entrypoints=websecure
|
- traefik.http.routers.mastodonstreaming.entrypoints=websecure
|
||||||
- traefik.http.routers.mastodonstreaming.tls.certresolver=letsencr
|
- traefik.http.routers.mastodonstreaming.tls.certresolver=letsencr
|
||||||
- traefik.http.services.mastodonstreaming.loadbalancer.server.port=4000
|
- traefik.http.services.mastodonstreaming.loadbalancer.server.port=4433
|
||||||
|
|
||||||
|
|
||||||
sidekiq:
|
sidekiq:
|
||||||
|
|||||||
Reference in New Issue
Block a user