Overview

Full name
docker.io/jonnyan404/mrdoc-nginx
Registry
docker.io
Namespace
jonnyan404
Repository
mrdoc-nginx
Cached tags
8
Last synced
07/06/2026, 07:35 AM

Introduction

MrDoc 在线文档/wiki 前置 Nginx 镜像,预置静态资源与 upstream 路由,适合 MrDoc 私有化文档站点统一入口。

Details

jonnyan404/mrdoc-nginx 为开源 MrDoc 文档系统提供 Nginx 网关,转发至 Django 后端与静态文件。定位为 Web 反向代理,挂载 conf.d 自定义域名与 SSL;与 MrDoc 应用容器 compose 或 K8s Ingress 后端。

快速启动

docker run -d --name mrdoc-nginx \
  -p 8080:80 \
  docker.io/jonnyan404/mrdoc-nginx:latest

推荐实践

docker run -d --name mrdoc-nginx \
  --restart unless-stopped \
  -p 8080:80 \
  -v /opt/mrdoc/nginx/conf.d:/etc/nginx/conf.d:ro \
  docker.io/jonnyan404/mrdoc-nginx:1.0.0

核心参数说明

  • -p 8080:80 — 文档站点 HTTP 入口
  • -v .../conf.d:... — 虚拟主机与 upstream
  • --restart unless-stopped — 网关持续在线
  • 固定 tag — 与 MrDoc 版本 pin

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: mrdoc-nginx
spec:
  replicas: 2
  selector:
    matchLabels:
      app: mrdoc-nginx
  template:
    metadata:
      labels:
        app: mrdoc-nginx
    spec:
      containers:
        - name: nginx
          image: docker.io/jonnyan404/mrdoc-nginx:1.0.0
          ports:
            - containerPort: 80
          volumeMounts:
            - name: conf
              mountPath: /etc/nginx/conf.d
      volumes:
        - name: conf
          configMap:
            name: mrdoc-nginx-conf
---
apiVersion: v1
kind: Service
metadata:
  name: mrdoc-nginx
spec:
  selector:
    app: mrdoc-nginx
  ports:
    - port: 80
      targetPort: 80

Ingress TLS;MrDoc 后端独立 Service。

Latest tags (20)

View all 8 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/jonnyan404/mrdoc-nginx
:0.9.9-with-mysql
linux/amd64linux/arm64linux/arm/v7
2026/02/26 13:23398.6 MBsha256:c764714935c0
docker.io/jonnyan404/mrdoc-nginx
:latest
linux/amd64linux/arm64linux/arm/v7
2026/02/26 00:10398.6 MBsha256:02c86c349d46
docker.io/jonnyan404/mrdoc-nginx
:0.9.9
linux/amd64linux/arm64linux/arm/v7
2026/02/26 00:04398.6 MBsha256:02c86c349d46
docker.io/jonnyan404/mrdoc-nginx
:0.9.4-with-mysql
linux/amd64linux/arm64linux/arm/v7
2024/11/02 23:14380.1 MBsha256:ba14bba55ef3
docker.io/jonnyan404/mrdoc-nginx
:0.9.4
linux/amd64linux/arm64linux/arm/v7
2024/11/02 22:42380.1 MBsha256:fb5979d09148
docker.io/jonnyan404/mrdoc-nginx
:0.9.2-with-mysql
linux/amd64linux/arm64linux/arm/v7
2024/03/24 21:35279.5 MBsha256:f806aa2acaa0
docker.io/jonnyan404/mrdoc-nginx
:0.9.2
linux/amd64linux/arm64linux/arm/v7
2024/03/24 16:40279.5 MBsha256:c5eae905aacd
docker.io/jonnyan404/mrdoc-nginx
:0.6.6-with-mysql
linux/amd64
2021/05/18 11:50168.0 MBsha256:329f28b283ea