Update README.md

This commit is contained in:
headlessdev 2025-04-18 17:12:49 +02:00 committed by GitHub
parent b70d17d844
commit 61468a359d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,6 +68,9 @@ services:
image: haedlessdev/corecontrol-agent:latest
environment:
DATABASE_URL: "postgresql://postgres:postgres@db:5432/postgres"
depends_on:
db:
condition: service_healthy
db:
image: postgres:17
@ -78,6 +81,11 @@ services:
POSTGRES_DB: postgres
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 2s
timeout: 2s
retries: 10
volumes:
postgres_data: