Closed neatnerd closed 3 years ago
If it works under docker, but doesn't under docker-compose, why do you think the problem is with the image?
I guess the problem is with this line:
ports:
- "12345:8080"
it is not with that line, you can specify port mapping as a string or as a pair. I tried both.
Saw only now that the port wrongly mapped to 8080 instead of 80, thanks
Issue:
When trying to access
/api
(http://localhost:12345) from the host machine, not a single page loads with the response:Steps to replicate: Chrome: Version 87.0.4280.88 (Official Build) (64-bit) OS: Windows, Docker for Windows 3.0.0 (50684), Engine: 20.10.0, WSL2 (20.04.1 LTS) Overpassversion: tested both on 0.7.56 and latest tag
The following docker command works as described in the documentation works:
The following docker-compose file does not work:
I have tried to switch off the firewall and anti-virus. The most strange behavior is that I believe the page pops up on startup and then goes down, but this might be browser cache.
Logs
Desired behavior
Docker-compose settings shall result in the same outcome as running individual docker commands