diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index 467b7c5..1c7d267 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -67,8 +67,6 @@ jobs: image: us-central1-docker.pkg.dev/${{ secrets.PROJECT_ID }}/cloud-run/cloud-run-back:${{ env.IMAGE_VERSION }} region: us-central1 project_id: ${{ secrets.PROJECT_ID }} - env_vars: |- - PORT=4000 - name: Deploy to Cloud Run Frontend id: deploy-cloud-run-front @@ -78,8 +76,6 @@ jobs: image: us-central1-docker.pkg.dev/${{ secrets.PROJECT_ID }}/cloud-run/cloud-run-front:${{ env.IMAGE_VERSION }} region: us-central1 project_id: ${{ secrets.PROJECT_ID }} - env_vars: |- - PORT=80 - name: Test Cloud Run run: | diff --git a/back/index.ts b/back/index.ts index 398c914..3dc4144 100644 --- a/back/index.ts +++ b/back/index.ts @@ -11,6 +11,6 @@ app.get('/api/hello', (_req: Request, res: Response) => res.json({ message: 'hello' }), ) -app.listen(4000, () => { - console.info(`🚀 express http server started at http://localhost:${4000}`) +app.listen(8080, () => { + console.info(`🚀 express http server started at http://localhost:${8080}`) }) diff --git a/nginx.conf b/nginx.conf index 01c8716..2fdfa25 100644 --- a/nginx.conf +++ b/nginx.conf @@ -8,7 +8,7 @@ http { } server { - listen 80; + listen 8080; server_name _; index index.html index.htm; @@ -25,4 +25,3 @@ http { events { worker_connections 1024; } -