kristophjunge / docker-mediawiki

Dockerized MediaWiki running under Nginx and PHP-FPM. Based on the official PHP7 image. Packaged with VisualEditor plugin and Parsoid service.
MIT License
62 stars 41 forks source link

Container doesnt start #12

Closed wernermarcel closed 6 years ago

wernermarcel commented 7 years ago

In the logs i see :

[emerg] 12#12: socket() [::]:80 failed (97: Address family not supported by protocol) nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)

wernermarcel commented 7 years ago

ipv6 is disabled on the host..

kristophjunge commented 6 years ago

Hello please retry with the latest version. Note that the port exposed by the container was changed to 8080.

If your problem is related to IPv6, please try the following:

Create your own nginx.conf. Start with the one from inside the container:

docker exec -it mediawiki_wiki cat /etc/nginx/nginx.conf

In your nginx.conf file remove the following line:

listen [::]:8080;

Mount your own nginx.conf file into the container:

-v /var/mediawiki/nginx.conf:/etc/nginx/nginx.conf