Files
kamal/test/fixtures/deploy_primary_web_role_override.yml
Donal McBreen fd0cdc1ca1 All role specific proxy configuration
By default only the primary role runs the proxy. To disable the proxy
for that role, you can set `proxy: false` under it.

For other roles they default to not running the proxy, but you can
enable it by setting `proxy: true` for the role, or alternatively
setting a proxy configuration.

The proxy configuration will be merged into the root proxy configuration.
2024-09-18 17:25:35 +01:00

23 lines
334 B
YAML

service: app
image: dhh/app
servers:
web_chicago:
proxy: {}
hosts:
- 1.1.1.1
- 1.1.1.2
web_tokyo:
proxy: {}
hosts:
- 1.1.1.3
- 1.1.1.4
env:
REDIS_URL: redis://x/y
registry:
server: registry.digitalocean.com
username: user
password: pw
builder:
arch: amd64
primary_role: web_tokyo