# apps/web environment. The web app holds no secrets: it renders UI and proxies /api. # Port the Next server listens on for `pnpm dev` and `pnpm start`. Read from this file by # the dev/start scripts; a real environment variable wins over it. Containers get the port # from the image and the compose WEB_PORT variable instead, so this is a no-op there. # Change it and apps/api/.env APP_PUBLIC_URL and BETTER_AUTH_URL must name the same port. PORT=3005 # Where the API can be reached from the web container. Used only server side, by the # Next rewrite. In k8s this is the api Service DNS name, for example http://api:4000. API_INTERNAL_URL=http://localhost:4000 # Locale used before a visitor picks one. Must be a locale packages/i18n ships. NEXT_PUBLIC_DEFAULT_LOCALE=es