Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
Wiki.js

Wiki.js

Wiki.js is a self-hosted wiki that runs on Node.js and PostgreSQL. Write in Markdown or a visual editor, keep every revision, and set who can read or edit each page. AGPL-3.0 licensed with 28,700+ GitHub stars.

At a glance

License AGPL-3.0 Version 2 OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4

Access Wiki.js

  • Open the following URL in your browser: http://<SERVER_IP>
  • The containers may take a few minutes to initialize after installation.
  • Complete the on-screen setup wizard to finish the installation.

Important Files & Directories

  • Install Path: /etc/wiki
  • Compose File: /etc/wiki/docker-compose.yml
  • Environment File: /etc/wiki/.env
  • PostgreSQL Data: Docker volume /var/lib/docker/volumes/wiki_db-data

Docker Compose Management

Go to the installation directory:

cd /etc/wiki

Check container status:

docker compose ps

View logs:

docker compose logs -f

Restart containers:

docker compose restart

Stop the stack:

docker compose down

Start the stack:

docker compose up -d

Enable HTTPS with Let's Encrypt

1. Create an A record for your domain or subdomain pointing to your server's public IP address.

2. Make sure the domain is accessible over HTTP.

3. Stop the stack:

cd /etc/wiki && docker compose down

4. Edit the environment file (/etc/wiki/.env) and set your domain and email address:

LETSENCRYPT_DOMAIN=wiki.example.com
LETSENCRYPT_EMAIL=admin@example.com
SSL_ACTIVE=1

5. Start the containers again:

cd /etc/wiki && docker compose up -d

6. You can monitor the certificate provisioning process with:

cd /etc/wiki && docker compose logs -f wiki

7. After the Let's Encrypt certificate is issued, access Wiki.js using your domain.

Enable HTTP to HTTPS Redirect

  1. Open the Wiki.js Administration Area.
  2. Open SSL from the left navigation menu.
  3. Enable Redirect HTTP requests to HTTPS. 

More in Development Tools

Related apps.

Deploy Wiki.js now. From $2.48/mo.