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

Application does not honor PORT environment variable #498

Open
JoonasC opened this issue Sep 28, 2024 · 1 comment
Open

Application does not honor PORT environment variable #498

JoonasC opened this issue Sep 28, 2024 · 1 comment

Comments

@JoonasC
Copy link

JoonasC commented Sep 28, 2024

The PORT environment variable is used to specify which port the application will run on, but internally the app always uses port 3000. This means that when redirecting to /login for example, it will use port 3000 instead of the specified port.

@Anchel123
Copy link
Contributor

To change the URL, set the NEXTAUTH_URL variable when you run the instance in docker

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

No branches or pull requests

2 participants