chore(deploy): restore port 8606
This commit is contained in:
@@ -21,7 +21,7 @@ This document outlines all the modifications and setups performed during this se
|
||||
|
||||
## 3. Docker Environment (`Dockerfile` & `docker-compose.yml`)
|
||||
- Built a streamlined `Dockerfile` utilizing the `oven/bun:latest` image. The setup uses Bun for package installation (`bun install`), building (`bun run build`), and starting the app (`bun start`).
|
||||
- Set up `docker-compose.yml` with host port `8888` mapped to nginx on port `80` (`8888:80`); nginx proxies to the Next.js process on internal port `3000`. Keep the persistent `unless-stopped` restart policy.
|
||||
- Set up `docker-compose.yml` with host port `8606` mapped to nginx on port `80` (`8606:80`); nginx proxies to the Next.js process on internal port `3000`. Keep the persistent `unless-stopped` restart policy.
|
||||
|
||||
## 4. Application Configuration
|
||||
- Configured `next.config.ts` to support specific dev origins (`allowedDevOrigins`).
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ services:
|
||||
target: runner
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8888:80"
|
||||
- "8606:80"
|
||||
expose:
|
||||
- "3000"
|
||||
env_file:
|
||||
|
||||
Reference in New Issue
Block a user