Files
fizzy/docker-compose.beamer-testbed.yml
T
2025-10-13 13:57:58 +02:00

52 lines
1.1 KiB
YAML

x-app: &app
image: "basecamp/fizzy:dev"
build:
context: .
dockerfile: Dockerfile.dev
secrets:
- GITHUB_TOKEN
volumes:
- .:/rails
environment:
- RAILS_ENV=development
- BINDING=0.0.0.0
- BEAMER=true
- BEAMER_PRIMARY=fizzy-01
command: [ "./bin/beamer-testbed", "server" ]
services:
kamal-proxy:
image: basecamp/kamal-proxy:next
ports:
- 127.0.0.1:80:80
- 127.0.0.1:443:443
command: [ "kamal-proxy", "run", "--debug" ]
fizzy-01:
<<: *app
hostname: fizzy-01
volumes:
- .:/rails
- ./tmp/beamer-testbed/fizzy-01/storage:/rails/storage
- ./tmp/beamer-testbed/fizzy-01/tmp:/rails/tmp
fizzy-02:
<<: *app
hostname: fizzy-02
volumes:
- .:/rails
- ./tmp/beamer-testbed/fizzy-02/storage:/rails/storage
- ./tmp/beamer-testbed/fizzy-02/tmp:/rails/tmp
fizzy-03:
<<: *app
hostname: fizzy-03
volumes:
- .:/rails
- ./tmp/beamer-testbed/fizzy-03/storage:/rails/storage
- ./tmp/beamer-testbed/fizzy-03/tmp:/rails/tmp
secrets:
GITHUB_TOKEN:
environment: GITHUB_TOKEN