API URL settings being ignored in .env file. #14

Closed
opened 2026-02-16 12:51:03 -05:00 by yindo · 2 comments
Owner

Originally created by @Hercules2048 on GitHub (Dec 21, 2021).

Description :
Changing the URL/port to the API server in the .env file does not seem to do anything. After restarting the host machine and the docker, the changes are not honored and instead revolt wants to connect to the API server at example.com:8000.

This is especially apparent when you attempt to use a HTTPS reverse proxy using caddy or nginx, as you can't really get around this.
2021-12-21 08_23_19-Untitled - Paint
2021-12-21 08_43_29-Untitled - Paint

Originally created by @Hercules2048 on GitHub (Dec 21, 2021). Description : Changing the URL/port to the API server in the .env file does not seem to do anything. After restarting the host machine and the docker, the changes are not honored and instead revolt wants to connect to the API server at example.com:8000. This is especially apparent when you attempt to use a HTTPS reverse proxy using caddy or nginx, as you can't really get around this. ![2021-12-21 08_23_19-Untitled - Paint](https://user-images.githubusercontent.com/96486547/146957739-a4ba3a60-80d0-4f65-b25f-15d4242fca4c.png) ![2021-12-21 08_43_29-Untitled - Paint](https://user-images.githubusercontent.com/96486547/146957761-b1c09a12-5d53-43fa-994c-5289d9189767.png)
yindo closed this issue 2026-02-16 12:51:03 -05:00
Author
Owner

@jim3692 commented on GitHub (Jan 4, 2022):

I don't know if it's related, but I just updated Revolt and it tries to login using the official API instead of mine

@jim3692 commented on GitHub (Jan 4, 2022): I don't know if it's related, but I just updated Revolt and it tries to login using the official API instead of mine
Author
Owner

@insertish commented on GitHub (Jan 5, 2022):

I think we may have solved this in chat, anyways for anyone else, some common issues include:

  • Editing .env instead of docker-compose.yml for port changes.
  • Not specifying public URL in .env.
  • Not running docker-compose up -d to push everything to the Docker daemon.

I don't know if it's related, but I just updated Revolt and it tries to login using the official API instead of mine

Sounds unrelated, open an issue about it if you have more information.

@insertish commented on GitHub (Jan 5, 2022): I think we may have solved this in chat, anyways for anyone else, some common issues include: - Editing `.env` instead of `docker-compose.yml` for port changes. - Not specifying public URL in `.env`. - Not running `docker-compose up -d` to push everything to the Docker daemon. > I don't know if it's related, but I just updated Revolt and it tries to login using the official API instead of mine Sounds unrelated, open an issue about it if you have more information.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/self-hosted#14