Skip to content

Commit

Permalink
fix: local APP_URL (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 authored Jan 24, 2024
1 parent 244a05d commit dd25663
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .kontinuous/env/dev/templates/hasura.configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ data:

# Github remote schema
GITHUB_GRAPHQL_ENDPOINT: "https://api.github.com/graphql"


# backend URL
APP_URL: "http://app"
4 changes: 3 additions & 1 deletion .kontinuous/env/preprod/templates/hasura.configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ data:

# Github remote schema
GITHUB_GRAPHQL_ENDPOINT: "https://api.github.com/graphql"


# backend URL
APP_URL: "http://app"
4 changes: 3 additions & 1 deletion .kontinuous/env/prod/templates/hasura.configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ data:

# Github remote schema
GITHUB_GRAPHQL_ENDPOINT: "https://api.github.com/graphql"


# backend URL
APP_URL: "http://app"
2 changes: 0 additions & 2 deletions .kontinuous/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,3 @@ jobs:
with:
imagePackage: hasura
context: ./packages/hasura
buildArgs:
APP_URL: "https://{{ .Values.global.host }}"
3 changes: 0 additions & 3 deletions packages/hasura/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
FROM hasura/graphql-engine:v2.19.0-ce.cli-migrations-v3

ARG APP_URL
ENV APP_URL $APP_URL

COPY --chown=1001 migrations /hasura-migrations
COPY --chown=1001 metadata /hasura-metadata

Expand Down

0 comments on commit dd25663

Please sign in to comment.