Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
27 lines
543 B
YAML
27 lines
543 B
YAML
name: uptimesebi
|
|
|
|
services:
|
|
timescaledb:
|
|
image: timescale/timescaledb:2.30.1-pg16
|
|
environment:
|
|
POSTGRES_USER: uptime
|
|
POSTGRES_PASSWORD: uptime
|
|
POSTGRES_DB: uptime
|
|
ports: ["5432:5432"]
|
|
volumes: [pgdata:/var/lib/postgresql/data]
|
|
healthcheck:
|
|
test: ["CMD", "pg_isready", "-U", "uptime"]
|
|
interval: 2s
|
|
retries: 30
|
|
|
|
redis:
|
|
image: redis:8-alpine
|
|
ports: ["6379:6379"]
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 2s
|
|
retries: 30
|
|
|
|
volumes:
|
|
pgdata:
|