Update Docker Compose for 4.3-beta (#31554)

pull/2824/head^2
Michael Stanclift 2024-08-23 11:00:07 -05:00 committed by GitHub
parent c493689e84
commit 77c055b78c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -58,7 +58,7 @@ services:
web: web:
build: . build: .
image: ghcr.io/mastodon/mastodon:v4.2.11 image: ghcr.io/mastodon/mastodon:v4.3.0-beta.1
restart: always restart: always
env_file: .env.production env_file: .env.production
command: bundle exec puma -C config/puma.rb command: bundle exec puma -C config/puma.rb
@ -67,7 +67,7 @@ services:
- 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',"curl -s --noproxy localhost localhost:3000/health | grep -q 'OK' || exit 1"]
ports: ports:
- '127.0.0.1:3000:3000' - '127.0.0.1:3000:3000'
depends_on: depends_on:
@ -79,16 +79,16 @@ services:
streaming: streaming:
build: . build: .
image: ghcr.io/mastodon/mastodon:v4.2.11 image: ghcr.io/mastodon/mastodon-streaming:v4.3.0-beta.1
restart: always restart: always
env_file: .env.production env_file: .env.production
command: node ./streaming command: node ./streaming/index.js
networks: networks:
- external_network - external_network
- 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', "curl -s --noproxy localhost localhost:4000/api/v1/streaming/health | grep -q 'OK' || exit 1'"]
ports: ports:
- '127.0.0.1:4000:4000' - '127.0.0.1:4000:4000'
depends_on: depends_on:
@ -97,7 +97,7 @@ services:
sidekiq: sidekiq:
build: . build: .
image: ghcr.io/mastodon/mastodon:v4.2.11 image: ghcr.io/mastodon/mastodon:v4.3.0-beta.1
restart: always restart: always
env_file: .env.production env_file: .env.production
command: bundle exec sidekiq command: bundle exec sidekiq