This commit is contained in:
hakutaku
2025-09-23 19:27:09 +03:00
parent 65859bd87f
commit bbc27819b1

View File

@@ -6,7 +6,7 @@ services:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- "127.0.0.1:5432:5432"
- "5432:5432"
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}" ]
interval: 10s
@@ -19,7 +19,7 @@ services:
redis:
image: redis:8.2
ports:
- "127.0.0.1:6379:6379"
- "6379:6379"
volumes:
- ${PWD}/.data/redis:/data
command: redis-server --appendonly yes # Starts Redis with AOF persistence enabled