141554c21c
and more importantly, don't try to connect to the 37id database, which will hang. And finally, set the connect_timeout to something small so if we do try to make a connection, it will fail quickly instead of hanging for the default 120 seconds.
37 lines
695 B
YAML
37 lines
695 B
YAML
servers:
|
|
web:
|
|
hosts:
|
|
- fizzy.37signals.works
|
|
jobs:
|
|
hosts:
|
|
- fizzy.37signals.works
|
|
|
|
proxy:
|
|
hosts:
|
|
- fizzy.37signals.works # the single tenant is named "fizzy"
|
|
|
|
env:
|
|
clear:
|
|
RAILS_ENV: beta
|
|
LOCAL_AUTHENTICATION: t
|
|
|
|
x-beamer-accessory: &beamer-accessory
|
|
image: basecamp/beamer
|
|
registry:
|
|
username: bcbot
|
|
password:
|
|
- BASECAMP_REGISTRY_PASSWORD
|
|
options:
|
|
user: 1000 # Match the UID of the Rails app, for volume permissions
|
|
volumes:
|
|
- fizzy:/storage
|
|
|
|
accessories:
|
|
beamer-primary:
|
|
<<: *beamer-accessory
|
|
service: beamer-primary
|
|
cmd: beamer primary --remove-after=1h --dir=/storage
|
|
port: 5000:80
|
|
roles:
|
|
- web
|