@@ -39,16 +39,23 @@ This guide will help you deploy the Stream Deck Icons application to Coolify.
3939
4040Set the following environment variables in Coolify:
4141- ` NODE_ENV=production `
42- - ` PORT=3000 `
42+ - ` PORT=<external-port> ` (e.g., ` PORT=3009 ` to expose on port 3009)
43+
44+ ** Important** : The application runs on port 3000 internally. The PORT variable only configures the external port mapping to avoid conflicts.
4345
4446## Step 5: Build Settings
4547
4648Configure the following in Coolify:
4749- ** Build Command** : ` pnpm install && pnpm build `
4850- ** Start Command** : ` pnpm start `
49- - ** Port** : 3000
51+ - ** Port** : Set to match your PORT environment variable (e.g., 3009 for external access)
5052- ** Health Check Path** : ` / `
5153
54+ ** Port Configuration** :
55+ - Internal port: Always 3000 (application runs here)
56+ - External port: Set via PORT environment variable (defaults to 3000)
57+ - Example: ` PORT=3009 ` maps external port 3009 → internal port 3000
58+
5259## Step 6: Deploy
5360
5461### Automatic Deployment (Recommended)
@@ -68,8 +75,14 @@ Configure the following in Coolify:
6875 - Check that Node.js 22 is available
6976
70772 . ** Health check fails**
71- - Verify the application is running on port 3000
78+ - Verify the application is running on port 3000 internally
7279 - Check application logs in Coolify
80+ - Ensure PORT environment variable is set for external port mapping only
81+
82+ 3 . ** Port conflicts**
83+ - If you get "port already allocated" errors, set PORT to an available port
84+ - Example: ` PORT=3009 ` or ` PORT=8080 ` to avoid conflicts
85+ - The application will still run on port 3000 internally
7386
74873 . ** GitHub Actions deployment fails**
7588 - Verify webhook URL and token are correctly set
0 commit comments