Port issue
I would imagine what I'm experiencing is a port issue. This is what I've set the ports to, the host is correct I do have my own domain name I want to use but first I want to get it working with a generated traefik one and it isn't working. My website just says Bad Gateway. The environment variables are set on the dashboard so that isn't it either. Can send full code if want to see it



3 Replies

I feel like your container is not using the port correctly, remember that NGINX runs on port 80, try the config
.yml
below to test NGINX on your compose file, then point your domain to your server.
In my opinion, as long as you use Dokploy, you don't need NGINX for your reverse proxy anymore, we only need to set the domain directly in Dokploy.
Why on your api
service, you use php:8.2-fpm image? I don't understand what you mean, I think you need to include your application image.
Hope that answers your question, correct me if I'm wrong.So stupid! That was it bro. I took the documentation to literally and thought I had to change my port to 3000! Thanks man you saved me a lot of time!