Open TheFiZi opened 1 week ago
I can confirm this problem and it is indeed for the reason pointed out by the OP, although it is not in the file /etc/nginx/sites-available/default
, but in /opt/apprise/webapp/etc/nginx.conf
. Removing the listen [::]:8000;
from this file allows the container to start normally and the API to be requested.
To fix this in my environment, I had to keep a copy of this file on the server and replace it in the container with a volume. Therefore, it would be better if there was an option to do this, as this way I will have to confirm that this file has not changed with each new version.
:beetle: Describe the bug With IPv6 disabled on my Docker host machine the apprise-api Docker container fails to start properly because it cannot bind to the non-existent
[::]:8000
interface.:bulb: Screenshots and Logs
Logs:
:computer: Your System Details:
:crystal_ball: Additional context Disable IPv6 on a your Docker Host machine Try to start the container
I think the underlying issue is that
/opt/apprise/webapp/gunicorn.conf.py
has'[::]:8000'
and/etc/nginx/sites-enabled/default
haslisten [::]:80 default_server;
defined and I can't see a way to disable them besides manually editing the files.