Change startup command for Puma in Docker Compose (#28138)

This commit is contained in:
Michael Stanclift 2023-12-01 05:06:37 -06:00 committed by GitHub
parent 440b80b2e7
commit 272592d16d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ services:
image: ghcr.io/mastodon/mastodon:v4.2.0 image: ghcr.io/mastodon/mastodon:v4.2.0
restart: always restart: always
env_file: .env.production env_file: .env.production
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000" command: bundle exec puma -C config/puma.rb
networks: networks:
- external_network - external_network
- internal_network - internal_network