🔧 Fix Docker Compose Deployment Issues
✅ Removed Obsolete Version: - Removed deprecated 'version: 3.8' from docker-compose.prod.yml - Docker Compose now uses latest format ✅ Fixed Network Configuration: - Removed external 'proxy' network reference - Portfolio app now only uses internal 'portfolio-network' - No more 'undefined network proxy' error ✅ Fixed Environment Variables: - Added proper environment variable exports in GitHub Actions - All required variables now properly set during deployment - No more 'variable not set' warnings 🎯 Deployment Issues Resolved: - Docker Compose validation now passes - Environment variables properly configured - Network configuration simplified and working 🚀 Ready for Production Deployment!
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
portfolio:
|
||||
build:
|
||||
@@ -23,7 +21,6 @@ services:
|
||||
- portfolio_data:/app/.next/cache
|
||||
networks:
|
||||
- portfolio-network
|
||||
- proxy
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user