GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - justcoded/dockerize-docsify: Simple wrapper for docsifyjs based on nginx image

BranchesTags
Open more actions menu

Latest commit

 

History

35 Commits
35 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
bin
bin
 
 
html
html
 
 
templates
templates
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 

Repository files navigation

Docsify docker image

About

This is docker image to fast start with docsify markdown docs viewer.

It's based on nginx docker image.

Quick start

Just launch the container to see it in action

docker run --name docsify-example -d -p 8080:80 ghcr.io/justcoded/docsify:latest

Access the demo page on 127.0.0.1:8080.

Display your docs

Just mount your docs folder to /usr/share/nginx/html/docs.

Special files you may want to create:

_sidebar.md - Left nav

_navbar.md - Top nav

Docker compose example

---
version: '3.7'
services:
  docsify:
    image: ghcr.io/justcoded/docsify:latest
    volumes:
        - ./docs/:/usr/share/nginx/html/docs
    ports:
      - 8080:80

Configurations

Custom docsify config

If you want custom config you can override /usr/share/nginx/html/assets/docsify.conf.js with your mounted file.

Alternatively, you can set env variable with json to override the config:

    ...
    environment:
        OPT_DOCSIFY_CONF: "{subMaxLevel: 3}"

Custom page title

To specify custom page title on page load you can use env variable:

    ...
    environment:
      OPT_INDEX_TITLE: My custom page title

About

Simple wrapper for docsifyjs based on nginx image

Topics

dockerdocsify

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.