Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
### Setup

# The URL under which the frontend will be reachable
NEXT_PUBLIC_PUBLIC_URL=https://dev.portraitapp.co

# The public API URL
NEXT_PUBLIC_API_URL=https://dev.portraitapp.co/api

# The API URL which the server should use
NEXT_PUBLIC_INTERNAL_API_URL=http://backend:8080/api

### Advanced Customization

# Whether API requests should be logged
NEXT_PUBLIC_API_LOGGING=false

# Allow public access, deactivates auth mechanism
NEXT_PUBLIC_PUBLIC_ACCESS=false

# Comma separated array of supported languages. If only one, just use that without comma
NEXT_PUBLIC_SUPPORTED_LANGS=de,en

# Disable login / registration functionality. Only works if PUBLIC_ACCESS is set to true
NEXT_PUBLIC_DISALLOWHIDE_LOGIN=false

# Allow logging in with query paramters for demo. You could login with a URL like
# /de?action=login&user=user@customer.xyz&password=asdf
NEXT_PUBLIC_ALLOW_QUERY_LOGIN=false