I use the regular Squidex no-proxy configuration for docker-compose which I took from the official github profile. My issue is that I already have other images and other containers so I can’t use 80 port. I change the configuration in the file and received the following code in docker-compose-noproxy.yml:
ports:
- "8889:80"
.....
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/healthz"]
start_period: 60s
....
So when I execute docker-compose -f docker-compose-noproxy.yml up the app starts well but I receive a following out after docker container ps command:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bafcf2286f0f squidex/squidex:5 "dotnet Squidex.dll" 2 minutes ago Up 2 minutes (unhealthy) 8889/tcp, 11111/tcp, 0.0.0.0:8889->80/tcp
I can’t reach the app using HTTP://my-ip:8889. I receive 400 error in browser but no error in Squidex logs.
What do I do wrong?
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [X] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
The app starts well but I have unhealthy mark and can’t reach the app through url.
Expected behavior
I want to have healthy mark and reach the app through URL for to add its configuration to my nginx.
Minimal reproduction of the problem
Change the default port in docker-compose-noproxy.yml
Environment
- [X] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
Version: [latest]
Browser:
- [X] Chrome (desktop)
- [X] Chrome (Android)
- [X] Chrome (iOS)
- [X] Firefox
- [X] Safari (desktop)
- [X] Safari (iOS)
- [X] IE
- [X] Edge
Others: