-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
adding local docker compose with local postgres #39
base: main
Are you sure you want to change the base?
Conversation
web/.env.local.example
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could your references just use the existing web/.env.example
https://github.com/BennyKok/comfyui-deploy/blob/main/web/.env.example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea can just change the POSTGRES_PORT env of the local Postgres to reflect 5480 , the reason it’s different is because I’m not exposing Postgres to host network it’s only exposed internally
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also since it’s on internal network you can use the service name instead of localhost:5480.. eg. postgres:5480
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docker file copies in the env.local env vars should I get rid of that also?
adding Postgres port env var
I tried, and after setting all I got error:
|
might need some adjustments