Skip to content

Commit

Permalink
deploy middleware to dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Dec 12, 2024
1 parent fa1b599 commit cd718fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-deploy-ocr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
deploy-ocr:
name: Deploy OCR
runs-on: ubuntu-latest
environment: demo
environment: dev
needs: [build-publish-ocr]
steps:
- uses: actions/checkout@v4
Expand All @@ -76,7 +76,7 @@ jobs:
- name: Deploy OCR-API
uses: ./.github/actions/deploy-api
with:
deploy-env: demo
deploy-env: dev
docker-tag: ${{ needs.build-publish-ocr.outputs.docker_tag }}
docker-registry: ghcr.io
api-name: middleware
5 changes: 3 additions & 2 deletions ops/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ module "middleware_api" {
app_subnet_id = module.networking.middlewaresubnet_id

app_settings = {
WEBSITES_PORT = "8081"
PORT = "8081"
WEBSITES_PORT = "8080"
PORT = "8080"
SSL_MODE = "require"
POSTGRES_HOST = module.database.postgres_fqdn
POSTGRES_DB = module.database.postgres_db_name
POSTGRES_USER = module.database.postgres_user
Expand Down

0 comments on commit cd718fb

Please sign in to comment.