Wiki: Missing SSL on docker

Created on 25 Aug 2020  路  6Comments  路  Source: Requarks/wiki

Hi, I have installed Wiki using docker on ubuntu according to this guide: https://docs.requarks.io/install/ubuntu but SSL is not working. How should I install it? Thanks

PS: Nice app!

All 6 comments

Hi @andeedotnet thank you very much for your kind reply, I will use nginx.

Anyways, how can docker make the server listen to port 80 without a reverse proxy installed?! I'm very new into docker and I have this serious doubt 馃槼
I have installed Wiki using the mentioned guide on my post, and if I access from the IP i can actually work on Wiki (without ssl obviously).. 馃

You can start docker container with the option -p yourporthere:3000

EDIT: Wiki.js supports ssl directly. Just configure it in config.yml: https://docs.requarks.io/install/config#advanced

@NGPixel, I craft nginx.conf and tweak docker-compose.yml incorporating nginx as a reverse proxy... Are you taking it as a contrib?

@pbdco, the only tricky part with nginx container is that your redirection to wikijs container shall use the name you specified for the wiki container in the docker-compose.yml...

proxy_pass http://wiki:3000;

Where wiki is the name give in the docker-compose.yml :

...
  wiki:
    image: requarks/wiki:2
    depends_on:
      - db
    environment:
...

So nginx will finally understand that you refer to docker network...

@NGPixel, I craft nginx.conf and tweak docker-compose.yml incorporating nginx as a reverse proxy... Are you taking it as a contrib?

Wiki.js doesn't need a reverse-proxy. The only reason to use one is when you need a very custom configuration or you have other sites running on the same server.

Custom certificates and Let's Encrypt are already supported natively by Wiki.js.
https://docs.requarks.io/en/install/ubuntu#automatic-https-with-lets-encrypt-optional

Was this page helpful?
0 / 5 - 0 ratings