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: