Skip to content

Commit

Permalink
add NEXT_PUBLIC_APP_API_URL config for browser app
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Ruck <[email protected]>
  • Loading branch information
Manuel Ruck committed Nov 1, 2023
1 parent db8af34 commit c37eb6e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion kustomize/base/main/democracy-app-depl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: democracy-app
image: democracy/democracy-app.de:1.0.10
image: democracy/democracy-app.de:1.0.11-feature-api-via-env-var.6
envFrom:
- configMapRef:
name: democracy-app-config
Expand Down
5 changes: 2 additions & 3 deletions kustomize/overlays/alpha/configs/democracy-app.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
GRAPHQL_URL=https://alpha.api.democracy-app.de
GRAPHQL_URL_SERVER=http://democracy-api-srv:3000/
DOMAIN_DESKTOP=https://alpha.democracy-app.de
APP_API_URL=https://alpha.api.democracy-app.de
APP_HOST=http://alpha.democracy-app.de
5 changes: 2 additions & 3 deletions kustomize/overlays/internal/configs/democracy-app.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
GRAPHQL_URL=https://internal.api.democracy-app.de
GRAPHQL_URL_SERVER=http://democracy-api-srv:3000/
DOMAIN_DESKTOP=https://internal.democracy-app.de
APP_API_URL=https://internal.api.democracy-app.de
APP_HOST=http://internal.democracy-app.de
5 changes: 2 additions & 3 deletions kustomize/overlays/local/democracy-app.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@

GRAPHQL_URL=http://democracy-api.develop/
GRAPHQL_URL_SERVER=http://democracy-api-srv:3000/
APP_API_URL=https://internal.api.democracy-app.de
APP_HOST=http://localhost:3000
5 changes: 2 additions & 3 deletions kustomize/overlays/production/configs/democracy-app.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
GRAPHQL_URL=https://api.democracy-app.de
GRAPHQL_URL_SERVER=http://democracy-api-srv:3000/
DOMAIN_DESKTOP=https://democracy-app.de
APP_API_URL=https://api.democracy-app.de
APP_HOST=http://democracy-app.de

0 comments on commit c37eb6e

Please sign in to comment.