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

pull/28169/head
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
1 changed files with 1 additions and 1 deletions

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