# The node environment, for dev environment use 'development'
NODE_ENV=production

# The URL under which the frontend will be reachable
NEXT_PUBLIC_PUBLIC_URL=%baseUrl

# The public API URL
NEXT_PUBLIC_API_URL=%baseUrl/api

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

# 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.
# The first language in the list will be the default language (if language
# could not be determined from browser settings)
NEXT_PUBLIC_SUPPORTED_LANGS=de,en,sk

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

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

# Postgres URL for mastra storage (threads, memory, etc)
MASTRA_POSTGRES_URL=postgresql://portrait:portrait@postgres:5432/portrait_mastra

# Public URL of the AI assistant runtime, proxied by nginx. The browser calls
# this directly, so it must be reachable from the client - not only from inside
# the docker network.
NEXT_PUBLIC_MASTRA_URL=%baseUrl/mastra-api

# OpenRouter API key used by the AI assistant. Required for the assistant to
# work - without it the chat fails on the first request. The key is also needed
# in app/config/application-prod.yml (openrouter.api.key), where it can
# alternatively be set from the admin UI.
# Get a key at https://openrouter.ai/
#OPENROUTER_API_KEY=
