adding mastodon

This commit is contained in:
msnie
2025-01-31 14:41:13 +01:00
parent 4384323953
commit ec57796e0d
+3 -3
View File
@@ -37,13 +37,13 @@ services:
env_file: .env.production env_file: .env.production
ports: ports:
- 3344:3000 - 3344:3000
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3344" command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
networks: networks:
- traefik - traefik
- internal_network - internal_network
healthcheck: healthcheck:
# prettier-ignore # prettier-ignore
test: ['CMD-SHELL', 'wget -q --spider --proxy=off 127.0.0.1:3000/health || exit 1'] test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:3000/health || exit 1']
depends_on: depends_on:
- db - db
- redis - redis
@@ -73,7 +73,7 @@ services:
- internal_network - internal_network
healthcheck: healthcheck:
# prettier-ignore # prettier-ignore
test: ['CMD-SHELL', 'wget -q --spider --proxy=off 127.0.0.1:4000/api/v1/streaming/health || exit 1'] test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1']
depends_on: depends_on:
- db - db
- redis - redis