서비스 포트 변경: 3001 -> 3000
This commit is contained in:
+2
-2
@@ -8,7 +8,7 @@ Create `.env.production` on the production host. Do not commit it.
|
||||
DATABASE_URL="mysql://CHCOCO_ADMIN_USER:PASSWORD@AWS_EC2_HOST:3306/chocomae"
|
||||
AUTH_SECRET="replace-with-production-secret"
|
||||
NEXTAUTH_SECRET="replace-with-production-secret"
|
||||
NEXTAUTH_URL="http://NAS_HOST_OR_DOMAIN:3001"
|
||||
NEXTAUTH_URL="http://NAS_HOST_OR_DOMAIN:3000"
|
||||
```
|
||||
|
||||
Create `.env.stage` on the stage host with the same keys and stage-specific values.
|
||||
@@ -21,7 +21,7 @@ Create `.env.stage` on the stage host with the same keys and stage-specific valu
|
||||
2. Place `.env.production` in the repository root on the NAS.
|
||||
3. In Container Manager, create a project from `docker-compose.yml`.
|
||||
4. Build and start the project.
|
||||
5. Open `http://NAS_HOST_OR_DOMAIN:3001/login`.
|
||||
5. Open `http://NAS_HOST_OR_DOMAIN:3000/login`.
|
||||
|
||||
Equivalent CLI command:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user