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
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user