Skip to content
Merged

Puma #10

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ APP_ENV=
# Add configuration values here, as shown below.
HERE8_APIKEY=
SENTRY_DSN=http://public:secret@example.com/project-id

# Default values from : https://puma.io/puma/Puma/Configuration.html
PUMA_WORKERS=0
PUMA_THREADS=0:5
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
APP_ENV: ${APP_ENV:-development}
HERE8_APIKEY: ${HERE8_APIKEY:-}
SENTRY_DSN: ${SENTRY_DSN:-}
command: bundle exec puma -v -p 80 --pidfile 'tmp/server.pid'
command: bundle exec puma -v -p 80 --pidfile 'tmp/server.pid' -t "${PUMA_THREADS:-0:5}" -w "${PUMA_WORKERS:-0}"
restart: unless-stopped

router-demo-build:
Expand Down
Loading