Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

Fix hardcoded database username and DB name in AIO Compose file (#1111)

Anthony Romaniello275338e0c457
diff --git a/docker/all-in-one/docker-compose.yml b/docker/all-in-one/docker-compose.yml
index 7f881ad46..28f912c61 100644
--- a/docker/all-in-one/docker-compose.yml
+++ b/docker/all-in-one/docker-compose.yml
@@ -65,7 +65,7 @@ services:
image: postgres:17-alpine
restart: unless-stopped
healthcheck:
- test: [ "CMD-SHELL", "pg_isready -U postgres" ]
+ test: [ "CMD-SHELL", "pg_isready -U $${POSTGRES_USER:-postgres} -d $${POSTGRES_DB:-hi-events}" ]
interval: 10s
timeout: 5s
retries: 5