|
|
@@ -50,6 +50,11 @@ UPLOADS_PATH=./uploads
|
|
|
|
|
|
# Frontend Configuration
|
|
|
VUE_APP_API_URL=http://localhost:8080
|
|
|
+
|
|
|
+# Port Configuration
|
|
|
+BACKEND_PORT=8080
|
|
|
+FRONTEND_PORT=3000
|
|
|
+REDIS_PORT=6379
|
|
|
```
|
|
|
|
|
|
### 2. Database Setup
|
|
|
@@ -74,9 +79,10 @@ docker-compose up -d --build
|
|
|
```
|
|
|
|
|
|
### 4. Access the Application
|
|
|
-- Frontend: http://localhost:3000
|
|
|
-- Backend API: http://localhost:8080
|
|
|
+- Frontend: http://localhost:${FRONTEND_PORT:-3000}
|
|
|
+- Backend API: http://localhost:${BACKEND_PORT:-8080}
|
|
|
- Database: your-external-db-host:3306 (with your configured credentials)
|
|
|
+- Redis: localhost:${REDIS_PORT:-6379} (if enabled)
|
|
|
|
|
|
## Configuration Details
|
|
|
|
|
|
@@ -89,6 +95,11 @@ docker-compose up -d --build
|
|
|
- `DB_USER`: Database username (required)
|
|
|
- `DB_PASS`: Database password (required)
|
|
|
|
|
|
+#### Port Configuration
|
|
|
+- `BACKEND_PORT`: Backend service port (default: 8080)
|
|
|
+- `FRONTEND_PORT`: Frontend service port (default: 3000)
|
|
|
+- `REDIS_PORT`: Redis service port (default: 6379)
|
|
|
+
|
|
|
#### Company Information
|
|
|
- `COMPANY_NAME`: Your company name
|
|
|
- `COMPANY_ADDRESS`: Company address
|