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
- Open the Wiki.js Administration Area.
- Open SSL from the left navigation menu.
- Enable Redirect HTTP requests to HTTPS.