-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.production
24 lines (22 loc) · 1.07 KB
/
.env.production
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
###############################################################################################
# DO NOT MODIFY THIS FILE, CREATE A FILE ".env.production.local" AND ADD SECRET THERE INSTEAD #
###############################################################################################
# this profile will be used when running "next start"
# beware of the prefix "NEXT_PUBLIC_": https://stackoverflow.com/questions/67240908/how-to-set-base-url-based-on-environment-variable-in-next-js
# Backend API endpoint
# This environment variable is accessed when building the docker image, so changing it after the image is built will not work
NEXT_PUBLIC_API_URL=http://mocap-backend:8080/api/graphql
# Frontend URL
NEXTAUTH_URL=
# Random string for encrypting JWT, you can generate it with openssl -> rand -base64 32
NEXTAUTH_SECRET=
# Keycloak Local URL
KEYCLOAK_LOCAL_URL=http://mocap-keycloak:8080/keycloak
# Keycloak Public URL
KEYCLOAK_PUBLIC_URL=
# Keycloak Client Id
KEYCLOAK_CLIENT_ID=mocap-frontend
# Keycloak Client Secret
KEYCLOAK_CLIENT_SECRET=
# Keycloak Realm
KEYCLOAK_REALM=mocap-dev