build(docker): 🧱 Improve runtime environment
This commit is contained in:
@ -1,3 +1,2 @@
|
||||
NEXT_PUBLIC_VIEWER_URL=DOCKER_PUBLIC_VIEWER_URL
|
||||
NEXT_PUBLIC_SMTP_FROM=DOCKER_NEXT_PUBLIC_SMTP_FROM
|
||||
NEXT_PUBLIC_GOOGLE_CLIENT_ID=DOCKER_NEXT_PUBLIC_GOOGLE_CLIENT_ID
|
||||
# Don't edit this file
|
||||
NEXT_PUBLIC_VIEWER_URL=DOCKER_NEXT_PUBLIC_VIEWER_URL
|
||||
|
@ -3,4 +3,4 @@ NEXT_PUBLIC_VIEWER_URL=http://localhost:3001
|
||||
DATABASE_URL=postgresql://postgres:typebot@localhost:5432/typebot
|
||||
|
||||
# For more configuration options check out:
|
||||
https://docs.typebot.io/self-hosting/configuration
|
||||
# https://docs.typebot.io/self-hosting/configuration
|
@ -1,3 +0,0 @@
|
||||
DATABASE_URL=postgresql://postgres:typebot@db:5432/typebot
|
||||
NEXT_PUBLIC_VIEWER_URL=http://localhost:8081
|
||||
ENCRYPTION_SECRET=SgVkYp2s5v8y/B?E(H+MbQeThWmZq4t6
|
@ -17,7 +17,7 @@ export const getAuthenticatedGoogleClient = async (
|
||||
) as GoogleSheetsCredentialsData
|
||||
|
||||
const oauth2Client = new OAuth2Client(
|
||||
process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID,
|
||||
process.env.GOOGLE_CLIENT_ID,
|
||||
process.env.GOOGLE_CLIENT_SECRET,
|
||||
`${process.env.NEXTAUTH_URL}/api/credentials/google-sheets/callback`
|
||||
)
|
||||
|
Reference in New Issue
Block a user