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 2291a81
Show file tree
Hide file tree
Showing 5 changed files with 5 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.1
envFrom:
- configMapRef:
name: democracy-app-config
Expand Down
4 changes: 1 addition & 3 deletions kustomize/overlays/alpha/configs/democracy-app.env
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
GRAPHQL_URL=https://alpha.api.democracy-app.de
GRAPHQL_URL_SERVER=http://democracy-api-srv:3000/
DOMAIN_DESKTOP=https://alpha.democracy-app.de
NEXT_PUBLIC_APP_API_URL=https://alpha.api.democracy-app.de
4 changes: 1 addition & 3 deletions kustomize/overlays/internal/configs/democracy-app.env
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
GRAPHQL_URL=https://internal.api.democracy-app.de
GRAPHQL_URL_SERVER=http://democracy-api-srv:3000/
DOMAIN_DESKTOP=https://internal.democracy-app.de
NEXT_PUBLIC_APP_API_URL=https://internal.api.democracy-app.de
4 changes: 1 addition & 3 deletions kustomize/overlays/local/democracy-app.env
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@

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

0 comments on commit 2291a81

Please sign in to comment.