improvement: a port issue for local dev fixed.
This commit is contained in:
@@ -34,7 +34,7 @@ services:
|
||||
- ../backend/.env
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-dyolink_dev_change_me}@postgres:5432/${POSTGRES_DB:-dyolink_db}
|
||||
- FRONTEND_URL=http://frontend:3000
|
||||
- FRONTEND_URL=http://localhost:4000
|
||||
- PORT=3000
|
||||
ports:
|
||||
- "4001:3000"
|
||||
@@ -56,9 +56,8 @@ services:
|
||||
environment:
|
||||
- NEXT_PUBLIC_API_URL=http://localhost:4001/api
|
||||
- NEXT_PUBLIC_APP_URL=http://localhost:4000
|
||||
- PORT=3000
|
||||
ports:
|
||||
- "4000:3000"
|
||||
- "4000:3001"
|
||||
volumes:
|
||||
- ../frontend:/app:rw
|
||||
- /app/node_modules
|
||||
@@ -77,6 +76,7 @@ services:
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- ./nginx/http-only.dev.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- ./logs/nginx:/var/log/nginx
|
||||
networks:
|
||||
- dyolink_network
|
||||
|
||||
Reference in New Issue
Block a user