chore: Make docker compose host ports configurable (#14590)

This commit is contained in:
Tom Moor authored and GitHub committed 2026-11-14 13:07:57 -05:00
1 parent 11a74ebd4a
commit 4554494ed8
1 file changed
+4 -2
+4 -2
View File
@@ -2,12 +2,14 @@ services:
redis:
image: redis
ports:
- "127.0.0.1:6379:6379"
# Set REDIS_PORT in .env to run alongside another checkout.
- "127.0.0.1:${REDIS_PORT:-6379}:6379"
user: "redis:redis"
postgres:
image: postgres
ports:
- "127.0.0.1:5432:5432"
# Set POSTGRES_PORT in .env to run alongside another checkout.
- "127.0.0.1:${POSTGRES_PORT:-5432}:5432"
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: pass