chore: Remove exposed ports from PostgreSQL and Redis services in Docker configuration
All checks were successful
Dev Deployment (Zero Downtime) / deploy-dev (push) Successful in 14m59s

- Removed port mappings for PostgreSQL and Redis in the development Docker Compose file to enhance security and avoid potential conflicts.
This commit is contained in:
2026-01-15 21:15:14 +01:00
parent a66da4a59f
commit 9f7ecf6a88

View File

@@ -9,8 +9,6 @@ services:
POSTGRES_USER: portfolio_user
POSTGRES_PASSWORD: portfolio_dev_pass
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- "5432:5432"
volumes:
- postgres_dev_data:/var/lib/postgresql/data
- ./scripts/init-db.sql:/docker-entrypoint-initdb.d/init-db.sql
@@ -27,8 +25,6 @@ services:
image: redis:7-alpine
platform: linux/arm64
container_name: portfolio_redis_dev
ports:
- "6379:6379"
volumes:
- redis_dev_data:/data
networks: