Skip to content
Open
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 @@ -9,3 +9,7 @@ APP_ENV=
# Add configuration values here, as shown below.
HERE_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 @@ -17,7 +17,7 @@ services:
SENTRY_DSN: ${SENTRY_DSN}
depends_on:
- redis-cache
command: bundle exec puma -v -p 80 --pidfile 'server.pid'
command: bundle exec puma -v -p 80 --pidfile 'server.pid' -t "${PUMA_THREADS:-0:5}" -w "${PUMA_WORKERS:-0}"
restart: unless-stopped

redis-cache:
Expand Down
Loading