Skip to content

Commit 7f57dc1

Browse files
committed
fix (deployment): resolving env issue
1 parent 91f7889 commit 7f57dc1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/server/.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ AUTH0_CLIENT_ID=<your-dev-client-id>
88
AUTH0_CLIENT_SECRET=<your-dev-client-secret>
99
AUTH0_MANAGEMENT_CLIENT_ID=<your-dev-m2m-client-id>
1010
AUTH0_MANAGEMENT_CLIENT_SECRET=<your-dev-m2m-secret>
11-
AUTH0_SCOPE='openid profile email offline_access read:chat write:chat read:profile write:profile manage:google_auth read:memory write:memory read:tasks write:tasks read:notifications read:config write:config admin:user_metadata read:journal write:journal'
11+
AUTH0_SCOPE="openid profile email offline_access read:chat write:chat read:profile write:profile manage:google_auth read:memory write:memory read:tasks write:tasks read:notifications read:config write:config admin:user_metadata read:journal write:journal"
1212

1313
# --- Database ---
1414
MONGO_URI="mongodb+srv://<user>:<password>@<cluster>.mongodb.net/"

src/server/start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
set -e
33

44
if [ -f /app/.env ]; then
5+
dos2unix /app/.env
56
echo "Loading environment variables from /app/.env"
67
set -a
78
. /app/.env

0 commit comments

Comments
 (0)