Skip to content

Commit

Permalink
👷 Remove BACKEND_URL variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Draculente committed Jan 22, 2024
1 parent 4e915a7 commit 79fd359
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ jobs:
UNIQUE_TAG: "${{ github.sha }}-${{ github.run_number }}-${{ github.run_attempt }}"
DATABASE_URL: ${{ secrets.DATABASE_URL }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
# You need to set is manually in backend deployment container port
BACKEND_PORT: ${{ env.BACKEND_PORT }}
APP_NAME: "rsswipe"
BACKEND_IMAGE: "importantus/rsswipe-backend:main"
FRONTEND_IMAGE: "importantus/rsswipe-frontend:main"
Expand Down
2 changes: 0 additions & 2 deletions deployment/backend/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,4 @@ spec:
value: "{{ DATABASE_URL }}"
- name: "JWT_SECRET"
value: "{{ JWT_SECRET }}"
- name: "BACKEND_PORT"
value: "{{ BACKEND_PORT }}"

2 changes: 1 addition & 1 deletion deployment/backend/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ spec:
ports:
- protocol: TCP
port: 80
targetPort: {{ BACKEND_PORT }}
targetPort: 8080

0 comments on commit 79fd359

Please sign in to comment.