This message was deleted.
# atlantis-community
s
This message was deleted.
j
Not sure how/where you are running atlantis but you need to set those environment variables such that docker can see them in whatever orchestrator you are using. For AWS ECS that would be task environment variables. Basically the whatever the equivalent of
docker run -e PGUSER=user -e PGPASSWORD=pass ......
or in a
.env
file or compose, etc.
e
Hello, Thank you @Jason Reslock for responding. So we are doing roll your own deployment since this is a POC and getting the mirror for the docker atlantis image will take sometime. This is hosted on a virtual machine with nginx running and the service running using systemctl. I have tried to source
.env
and still issues..maybe its not the environment variables causing the issue, but was wondering if there is a way to troubleshoot or something that has been missed
After some investigation, I think it's an issue with the WebSocket and not the environment.
j
oh so for websockets to work with nginx you need to forward certain headers...let me find that
I had to set these in my nginx.conf in order for websockets to work with atlantis here
Copy code
# WebSocket support
      proxy_http_version 1.1;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection "Upgrade";
e
Hello!! Thank you @Jason Reslock, this was it! Sorry for the late response!
j
Glad I could help!