cuddle/templates/docker-compose.yaml
kjuulh 779c48145c
All checks were successful
continuous-integration/drone/push Build is passing
feat: beginning of v2
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-04-28 11:13:13 +02:00

16 lines
394 B
YAML

version: "3"
services:
crdb:
restart: 'always'
image: 'cockroachdb/cockroach:v23.1.14'
command: 'start-single-node --advertise-addr 0.0.0.0 --insecure'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]
interval: '10s'
timeout: '30s'
retries: 5
start_period: '20s'
ports:
- 8080:8080
- '26257:26257'