-
Notifications
You must be signed in to change notification settings - Fork 207
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
Asks for .env file when there's nothing like that in the documentation #302
Comments
I'm seeing the same.
|
Same |
This was broken in commit, when the .env files were added to gitignore and deleted. |
Any solutions ? |
@LouisLecouturier one option may be to revert to before the breaking commit that @nsvrana identified. Haven't tested it myself though. |
I looked at all the .env files in the previous commits and only a few were not empty. I moved the few environment variables into my docker compose instead. The application still would not start after that and I haven’t spent more time troubleshooting.
I don’t think there is much focus on the self-hosting aspect.
…________________________________
From: Abhinav Das ***@***.***>
Sent: Wednesday, June 5, 2024 8:22:05 AM
To: pezzolabs/pezzo ***@***.***>
Cc: Nicholas Vrana ***@***.***>; Mention ***@***.***>
Subject: Re: [pezzolabs/pezzo] Asks for .env file when there's nothing like that in the documentation (Issue #302)
@LouisLecouturier<https://github.com/LouisLecouturier> one option may be to revert to before the breaking commit that @nsvrana<https://github.com/nsvrana> identified. Haven't tested it myself though.
—
Reply to this email directly, view it on GitHub<#302 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABAH3O24Z2Q37RWO277NYUTZF37G3AVCNFSM6AAAAABH4GYRFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBZGY4TQOJVHE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Issue
Workaround
|
@NoDataFound My error looks different than yours. Missing |
file: docs/deployment/docker-compose.mdx After I added the env.local file using the cat command according to the documentation in the above directory of the project, docker-compose -f docker-compose.infra.yaml ran successfully. |
then cd apps/server and apps/console, cp .env.example to .env. |
Are you ready to close source? I modified a large number of dockerfile configuration files. The service started successfully, but when I access the homepage, I cannot create an account or register. There is no default account information in the official documents. |
PINO_PRETTIFY="true" NX_BASE_API_URL="http://localhost:3000" |
with this .env file :
and this .env.docker file :
i just let this line in the docker-compose:
i am finally able to launch the thanks @NoDataFound for the clue on .env.docker |
Thanks @NoDataFound, @foreveryh and the rest for reporting this and finding some ways around. If you experience any issue after the solution is implemented, do let me know! |
I had some trouble getting this to work but managed to overcome it. Here's what I did to get
The solution is to replace this line pezzo/docker-compose.infra.yaml Line 78 in 938bf61
POSTGRES_CONNECTION_URI: postgres://postgres:postgres@postgres:5432/supertokens .
|
Report
After following the steps from the documentation, I encounter the following error:
env file /Users/whatever/work/experiments/pezzo/.env not found: stat /Users/whatever/work/experiments/pezzo/.env: no such file or directory
Expected behavior
Expected it to run the containers necessary to run pezzo.
Steps to reproduce the problem
cd pezzo
docker compose up
Logs (if applicable)
Pezzo version
0.8.0
How do you use Pezzo?
Local Development Setup
The text was updated successfully, but these errors were encountered: