mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-16 08:25:18 +02:00
feat: add authentication for OSS (#167)
* feat: add authentication for OSS Fixes #157 and #156 * fix: fix token generation * fix: limit fastapi workers to 1
This commit is contained in:
parent
0791975864
commit
642cc34e8c
48 changed files with 994 additions and 303 deletions
|
|
@ -37,12 +37,10 @@ COPY ui/src ./src
|
|||
|
||||
# Set build-time environment variables (needed for Next.js build)
|
||||
ENV NEXT_PUBLIC_NODE_ENV="oss"
|
||||
ENV NEXT_PUBLIC_AUTH_PROVIDER="local"
|
||||
ENV NEXT_PUBLIC_DEPLOYMENT_MODE="oss"
|
||||
ENV BACKEND_URL="http://api:8000"
|
||||
ENV NEXT_TELEMETRY_DISABLED="1"
|
||||
ENV NEXT_PUBLIC_CHATWOOT_URL="https://chat.dograh.com"
|
||||
ENV NEXT_PUBLIC_CHATWOOT_TOKEN="3fkFx2mCEjNHjM9gaNc4A82X"
|
||||
ENV BACKEND_URL="http://api:8000"
|
||||
|
||||
# Build the application with standalone mode
|
||||
# Increase Node.js heap size to prevent out-of-memory errors during build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue