build: add dev compose stack, container image and makefile
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
3b3879d9b5
commit
073668a5b4
4 files changed
+88
No files matched your search
@@ -0,0 +1,26 @@
|
||||
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:
|
||||
Reference in new issue
Block a user