blob: 67167d4f230244a037451af48734840e22d40aa5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# docker-compose.yml
services:
app:
build: .
stdin_open: true
tty: true
platform: linux/amd64
environment:
- RAILS_ENV=development
ports:
- 3000:3000
volumes:
- .:/rails
command: ["bin/rails", "server", "-b", "0.0.0.0"]
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/healthz"]
interval: 30s
timeout: 10s
retries: 5
|