SelfhostedPro / selfhosted_templates

Portainer templates for selfhosted services
GNU General Public License v3.0
1.24k stars 238 forks source link

[APP REQUEST]: Kiwix-serve #162

Open chjohn22 opened 4 years ago

chjohn22 commented 4 years ago

Dockerhub Link:

https://hub.docker.com/r/kiwix/kiwix-serve

Description

Host ZIM-Files (f.e. Wikipedia) on your server and make them accessible through the webbrowser.

Separate Database?

no

Fill this out as best as you can. Documentation about these can be found here: https://www.portainer.io/documentation/how-to-use-templates/

{
    "type": 1,
    "title": "kiwix-serve",
    "name": "kiwix-serve",
    "description": "Kiwix-Serve is a .zim compatible web server: it allows you to deliver .zim files over the HTTP protocol within your local network – be it a University or your own house. Simply start Kiwix-Serve on your machine, and your content will be available for anybody through their web browser.",
    "logo": "https://en.wikipedia.org/wiki/File:Kiwix_logo.svg",
    "image": "kiwix/kiwix-serve:latest",
    "categories": [
      "knowledge"
    ],
    "platform": "linux",
    "restart_policy": "unless-stopped",
    "ports": [
      "4040:4040/tcp"
    ], ***Template filled out till here, change contents below***
    "volumes": [
      {
        "container": "/music",
        "bind": "/portainer/Music"

      },
      {
        "container": "/playlists",
        "bind": "/portainer/Files/AppData/Airsonic/Playlists"
      },
      {
        "container": "/podcasts",
        "bind": "/portainer/Podcasts"
      },
      {
        "container": "/media",
        "bind": "/portainer/Files/AppData/Airsonic/Media"
      },
      {
        "container": "/config",
        "bind": "/portainer/Files/AppData/Config/Airsonic/"
      }
    ],
    "env": [
      {
        "name": "PUID",
        "label": "PUID",
        "default": "1000"
      },
      {
        "name": "PGID",
        "label": "PGID",
        "default": "100"
      },
      {
        "name": "CONTEXT_PATH",
        "label": "CONTEXT_PATH",
        "set": "airsonic"
      },
      {
        "name": "JAVA_OPTS",
        "label": "JAVA_OPTS",
        "set": "-Xms256m -Xmx512m"
      }
    ]
  },