CanastaWiki / Canasta

MediaWiki Docker image for Canasta, an all-in-one MediaWiki stack for easy deployment and management of enterprise-ready MediaWiki on production environments.

Home Page:https://www.canasta.wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bind for 0.0.0.0:443 failed: port is already allocated

datawiki opened this issue · comments

Can you run two separate Canasta containers in wsl2 docker?

Caddy automatically binds 443, so changing the entry port from 80 to 8081 in the .env has no effect.

Error response from daemon: driver failed programming external connectivity on endpoint can8081-caddy-1 (......): Bind for 0.0.0.0:443 failed: port is already allocated.

No, this use case is not supported and we don't intend to add support for it.

I should note, though, that support for running multiple wikis within the same container is planned - see #57. This will hopefully be done this summer.