Files
fizzy/config/deploy.staging.yml
T
2025-08-29 17:33:48 +01:00

48 lines
866 B
YAML

servers:
web:
hosts:
- fizzy-staging-app-01
- fizzy-staging-app-101
jobs:
hosts:
- fizzy-staging-app-01
proxy:
ssl: false
ssh:
user: app
env:
clear:
RAILS_ENV: staging
accessories:
beamer:
image: basecamp/beamer:vfs
registry:
server: registry.37signals.com
username: robot$harbor-bot
password:
- BASECAMP_REGISTRY_PASSWORD
options:
user: 1000 # Match the UID of the Rails app, for volume permissions
volumes:
- fizzy:/home/beamer
cmd: beamer run --retention=1h
port: 5001:5001
hosts:
- fizzy-staging-app-01
- fizzy-staging-app-101
load-balancer:
image: basecamp/kamal-proxy:lb
roles:
- web
options:
publish:
- 80:80
- 443:443
volumes:
- load-balancer:/home/kamal-proxy/.config/kamal-proxy