https://github.com/rockbenben/docsify-server
9.9K
This project provides a pre-built Dockerized environment for Docsify, leveraging the official docsify-cli to serve your markdown documentation as an elegant website. The rockben/docsify-server image is automatically built with the latest version of docsify-cli.
docsify-cli, keeping your environment up-to-date.Before you start, ensure you have Docker installed on your machine.
Pull the Docker Image:
Pull the rockben/docsify-server image from Docker Hub:
docker pull rockben/docsify-server
Organize Your Documentation:
Place your markdown files in a local directory, e.g., ./docs.
Start the Docsify Server:
Use docker-compose to start the server. Create a docker-compose.yml with the following content:
version: "3.8"
services:
docsify:
container_name: docsify-server
image: ghcr.io/rockbenben/docsify-server:latest
volumes:
- ./docs:/docs
ports:
- "8080:3000"
restart: unless-stopped
Run the container using:
docker-compose up -d
Or quickly deploy with the following command:
# ghcr.io
docker run -d -p 8080:3000 --name docsify-server ghcr.io/rockbenben/docsify-server:latest
# docker hub
docker run -d -p 8080:3000 --name docsify-server rockben/docsify-server:latest
Access Your Site:
Your documentation site is now available at http://localhost:8080.
Content type
Image
Digest
sha256:aff91c570…
Size
59.9 MB
Last updated
2 months ago
docker pull rockben/docsify-server