# mkdocs -- https://squidfunk.github.io/mkdocs-material/ services: public-mkdocs: container_name: "public-mkdocs" image: material2:latest environment: - PUID=1000 - PGID=1000 volumes: - /srv/mkdocs/public:/docs stdin_open: true tty: true ports: - "9896:8000" networks: - frontend labels: # --- Basic Traefik Enabling --- - "traefik.enable=true" # MANDATORY because exposedByDefault is false in your Traefik config # --- HTTP Router Configuration --- # - "traefik.http.routers.mkdocs-http.rule=Host(`wiki.wompmacho.com`)" # <-- IMPORTANT: Change this to your domain! # - "traefik.http.routers.mkdocs-http.entrypoints=web" # Use your 'web' entrypoint for HTTP (port 80) - "traefik.http.routers.mkdocs-https.tls=true" - "traefik.http.routers.mkdocs-https.tls.certresolver=cloudflare" - "traefik.http.routers.mkdocs-https.entrypoints=websecure" - "traefik.http.routers.mkdocs-https.rule=Host(`wiki.wompmacho.com`)" # <-- IMPORTANT: Change this to your domain! # This label tells Traefik to connect to port 8000 *inside* the MkDocs container. - "traefik.http.services.mkdocs-service.loadbalancer.server.port=8000" restart: unless-stopped # private-mkdocs: # container_name: 'private-mkdocs' # restart: unless-stopped # image: squidfunk/mkdocs-material # environment: # - PUID=1000 # - PGID=1000 # volumes: # - private-mkdocs:/docs # stdin_open: true # tty: true # ports: # - "9897:8000" # volumes: # public-mkdocs: # name: public-mkdocs # driver_opts: # type: nfs # o: addr=truenas,nolock,soft,rw # device: :/mnt/store/vault/app/mkdocs/public # private-mkdocs: # name: private-mkdocs # driver_opts: # type: nfs # o: addr=truenas,nolock,soft,rw # device: :/mnt/store/vault/app/mkdocs/private networks: frontend: external: true