Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docker): update .dockerignore to include client/.env file #241

Merged
merged 1 commit into from
May 11, 2023

Conversation

danny-avila
Copy link
Owner

@danny-avila danny-avila commented May 11, 2023

This allows socials for authentication system using docker

make sure you have the following in api/.env

GOOGLE_CLIENT_ID=your client id
GOOGLE_CLIENT_SECRET=your client secret
GOOGLE_CALLBACK_URL=/oauth/google/callback

the env variables in client/.env as shown in client/.env.example file, but the following set to 'true'

VITE_SHOW_GOOGLE_LOGIN_OPTION=true

follow the guide here: https://github.com/danny-avila/chatgpt-clone/blob/main/documents/features/user_auth_system.md

feat(docker): add COPY command to copy client/.env file into the container
@danny-avila danny-avila merged commit 91e9b16 into main May 11, 2023
@danny-avila danny-avila deleted the fix-docker-socials branch May 11, 2023 19:59
@danny-avila danny-avila mentioned this pull request May 11, 2023
cnkang pushed a commit to cnkang/LibreChat that referenced this pull request Feb 6, 2024
…avila#241)

fix(docker): add COPY command to copy client/.env file into the container before building
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant