You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SERVER_SECRET=# enter a secret key generated by `pnpm generate-keys` here. This is used to sign the JWT tokens.
2
+
STACK_SERVER_SECRET=# enter a secret key generated by `pnpm generate-keys` here. This is used to sign the JWT tokens.
3
3
4
4
# OAuth shared keys
5
5
# Can be omitted if shared OAuth keys are not needed
6
-
GITHUB_CLIENT_ID=# client
7
-
GITHUB_CLIENT_SECRET=# client secret
8
-
GOOGLE_CLIENT_ID=# client id
9
-
GOOGLE_CLIENT_SECRET=# client secret
10
-
FACEBOOK_CLIENT_ID=# client id
11
-
FACEBOOK_CLIENT_SECRET=# client secret
12
-
MICROSOFT_CLIENT_ID=# client id
13
-
MICROSOFT_CLIENT_SECRET=# client secret
14
-
SPOTIFY_CLIENT_ID=# client id
15
-
SPOTIFY_CLIENT_SECRET=# client secret
6
+
STACK_GITHUB_CLIENT_ID=# client
7
+
STACK_GITHUB_CLIENT_SECRET=# client secret
8
+
STACK_GOOGLE_CLIENT_ID=# client id
9
+
STACK_GOOGLE_CLIENT_SECRET=# client secret
10
+
STACK_FACEBOOK_CLIENT_ID=# client id
11
+
STACK_FACEBOOK_CLIENT_SECRET=# client secret
12
+
STACK_MICROSOFT_CLIENT_ID=# client id
13
+
STACK_MICROSOFT_CLIENT_SECRET=# client secret
14
+
STACK_SPOTIFY_CLIENT_ID=# client id
15
+
STACK_SPOTIFY_CLIENT_SECRET=# client secret
16
16
17
17
# Email
18
18
# For local development, you can spin up a local SMTP server like inbucket
19
-
EMAIL_HOST=# for local inbucket: 0.0.0.0
20
-
EMAIL_PORT=# for local inbucket: 2500
21
-
EMAIL_USERNAME=# for local inbucket: test
22
-
EMAIL_PASSWORD=# for local inbucket: none
23
-
EMAIL_SENDER=# for local inbucket: noreply@test.com
19
+
STACK_EMAIL_HOST=# for local inbucket: 0.0.0.0
20
+
STACK_EMAIL_PORT=# for local inbucket: 2500
21
+
STACK_EMAIL_USERNAME=# for local inbucket: test
22
+
STACK_EMAIL_PASSWORD=# for local inbucket: none
23
+
STACK_EMAIL_SENDER=# for local inbucket: noreply@test.com
24
24
25
25
# Database
26
26
# For local development: `docker run -it --rm -e POSTGRES_PASSWORD=password -p "5432:5432" postgres`
27
-
DATABASE_CONNECTION_STRING=# enter your connection string here. For local development: `postgres://postgres:password@localhost:5432/stack`
28
-
DIRECT_DATABASE_CONNECTION_STRING=# enter your direct (unpooled or session mode) database connection string here. For local development: same as above
27
+
STACK_DATABASE_CONNECTION_STRING=# enter your connection string here. For local development: `postgres://postgres:password@localhost:5432/stack`
28
+
STACK_DIRECT_DATABASE_CONNECTION_STRING=# enter your direct (unpooled or session mode) database connection string here. For local development: same as above
29
29
30
30
# Misc, optional
31
31
STACK_ACCESS_TOKEN_EXPIRATION_TIME=# enter the expiration time for the access token here. Optional, don't specify it for default value
Copy file name to clipboardExpand all lines: apps/dashboard/.env
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -3,33 +3,33 @@ NEXT_PUBLIC_STACK_URL=# enter your stack endpoint here, For local development: h
3
3
NEXT_PUBLIC_STACK_PROJECT_ID=internal
4
4
NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY=# enter your Stack publishable client key here. For local development, just enter a random string, then run `pnpm prisma migrate reset`
5
5
STACK_SECRET_SERVER_KEY=# enter your Stack secret client key here. For local development, do the same as above
6
-
SERVER_SECRET=# enter a secret key generated by `pnpm generate-keys` here. This is used to sign the JWT tokens.
6
+
STACK_SERVER_SECRET=# enter a secret key generated by `pnpm generate-keys` here. This is used to sign the JWT tokens.
7
7
8
8
# OAuth shared keys
9
9
# Can be omitted for local development, but shared OAuth keys will not work
10
-
GITHUB_CLIENT_ID=# client
11
-
GITHUB_CLIENT_SECRET=# client secret
12
-
GOOGLE_CLIENT_ID=# client id
13
-
GOOGLE_CLIENT_SECRET=# client secret
14
-
FACEBOOK_CLIENT_ID=# client id
15
-
FACEBOOK_CLIENT_SECRET=# client secret
16
-
MICROSOFT_CLIENT_ID=# client id
17
-
MICROSOFT_CLIENT_SECRET=# client secret
18
-
SPOTIFY_CLIENT_ID=# client id
19
-
SPOTIFY_CLIENT_SECRET=# client secret
10
+
STACK_GITHUB_CLIENT_ID=# client
11
+
STACK_GITHUB_CLIENT_SECRET=# client secret
12
+
STACK_GOOGLE_CLIENT_ID=# client id
13
+
STACK_GOOGLE_CLIENT_SECRET=# client secret
14
+
STACK_FACEBOOK_CLIENT_ID=# client id
15
+
STACK_FACEBOOK_CLIENT_SECRET=# client secret
16
+
STACK_MICROSOFT_CLIENT_ID=# client id
17
+
STACK_MICROSOFT_CLIENT_SECRET=# client secret
18
+
STACK_SPOTIFY_CLIENT_ID=# client id
19
+
STACK_SPOTIFY_CLIENT_SECRET=# client secret
20
20
21
21
# Email
22
22
# For local development, you can spin up a local SMTP server like inbucket
23
-
EMAIL_HOST=# for local inbucket: 0.0.0.0
24
-
EMAIL_PORT=# for local inbucket: 2500
25
-
EMAIL_USERNAME=# for local inbucket: test
26
-
EMAIL_PASSWORD=# for local inbucket: none
27
-
EMAIL_SENDER=# for local inbucket: noreply@test.com
23
+
STACK_EMAIL_HOST=# for local inbucket: 0.0.0.0
24
+
STACK_EMAIL_PORT=# for local inbucket: 2500
25
+
STACK_EMAIL_USERNAME=# for local inbucket: test
26
+
STACK_EMAIL_PASSWORD=# for local inbucket: none
27
+
STACK_EMAIL_SENDER=# for local inbucket: noreply@test.com
28
28
29
29
# Database
30
30
# For local development: `docker run -it --rm -e POSTGRES_PASSWORD=password -p "5432:5432" postgres`
31
-
DATABASE_CONNECTION_STRING=# enter your connection string here. For local development: `postgres://postgres:password@localhost:5432/stack`
32
-
DIRECT_DATABASE_CONNECTION_STRING=# enter your direct (unpooled or session mode) database connection string here. For local development: same as above
31
+
STACK_DATABASE_CONNECTION_STRING=# enter your connection string here. For local development: `postgres://postgres:password@localhost:5432/stack`
32
+
STACK_DIRECT_DATABASE_CONNECTION_STRING=# enter your direct (unpooled or session mode) database connection string here. For local development: same as above
33
33
34
34
# Misc, optional
35
35
STACK_ACCESS_TOKEN_EXPIRATION_TIME=# enter the expiration time for the access token here. Optional, don't specify it for default value
0 commit comments