add kwiix-serve files
This commit is contained in:
parent
341fb77c31
commit
71f7728f09
19
apps/kiwix-serve/config.json
Normal file
19
apps/kiwix-serve/config.json
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"$schema": "../schema.json",
|
||||||
|
"name": "Kiwix Serve",
|
||||||
|
"port": 8080,
|
||||||
|
"available": true,
|
||||||
|
"exposable": true,
|
||||||
|
"id": "kiwix-serve",
|
||||||
|
"tipi_version": 1,
|
||||||
|
"version": "3.5.0-2",
|
||||||
|
"categories": [
|
||||||
|
"media"
|
||||||
|
],
|
||||||
|
"description": "Kiwix Serve is a web server for hosting .zim files",
|
||||||
|
"short_desc": "Kiwix Serve is a web server for hosting .zim files",
|
||||||
|
"author": "Kiwix",
|
||||||
|
"source": "https://github.com/kiwix/kiwix-tools/",
|
||||||
|
"website": "https://kiwix.org/",
|
||||||
|
"form_fields": []
|
||||||
|
}
|
39
apps/kiwix-serve/docker-compose.yml
Normal file
39
apps/kiwix-serve/docker-compose.yml
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
kiwix-serve:
|
||||||
|
container_name: kiwix-serve
|
||||||
|
image: ghcr.io/kiwix/kiwix-serve:3.5.0-2
|
||||||
|
ports:
|
||||||
|
- ${APP_PORT}:8080
|
||||||
|
volumes:
|
||||||
|
- ${APP_DATA_DIR}/zim:/data
|
||||||
|
command: '*.zim'
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
labels:
|
||||||
|
# Main
|
||||||
|
traefik.enable: true
|
||||||
|
traefik.http.middlewares.kiwix-serve-web-redirect.redirectscheme.scheme: https
|
||||||
|
traefik.http.services.kiwix-serve.loadbalancer.server.port: 8080
|
||||||
|
# Web
|
||||||
|
traefik.http.routers.kiwix-serve-insecure.rule: Host(`${APP_DOMAIN}`)
|
||||||
|
traefik.http.routers.kiwix-serve-insecure.entrypoints: web
|
||||||
|
traefik.http.routers.kiwix-serve-insecure.service: kiwix-serve
|
||||||
|
traefik.http.routers.kiwix-serve-insecure.middlewares: kiwix-serve-web-redirect
|
||||||
|
# Websecure
|
||||||
|
traefik.http.routers.kiwix-serve.rule: Host(`${APP_DOMAIN}`)
|
||||||
|
traefik.http.routers.kiwix-serve.entrypoints: websecure
|
||||||
|
traefik.http.routers.kiwix-serve.service: kiwix-serve
|
||||||
|
traefik.http.routers.kiwix-serve.tls.certresolver: myresolver
|
||||||
|
# Local domain
|
||||||
|
traefik.http.routers.kiwix-serve-local-insecure.rule: Host(`kiwix-serve.${LOCAL_DOMAIN}`)
|
||||||
|
traefik.http.routers.kiwix-serve-local-insecure.entrypoints: web
|
||||||
|
traefik.http.routers.kiwix-serve-local-insecure.service: kiwix-serve
|
||||||
|
traefik.http.routers.kiwix-serve-local-insecure.middlewares: kiwix-serve-web-redirect
|
||||||
|
# Local domain secure
|
||||||
|
traefik.http.routers.kiwix-serve-local.rule: Host(`kiwix-serve.${LOCAL_DOMAIN}`)
|
||||||
|
traefik.http.routers.kiwix-serve-local.entrypoints: websecure
|
||||||
|
traefik.http.routers.kiwix-serve-local.service: kiwix-serve
|
||||||
|
traefik.http.routers.kiwix-serve-local.tls: true
|
1
apps/kiwix-serve/metadata/description.md
Normal file
1
apps/kiwix-serve/metadata/description.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
TODO
|
BIN
apps/kiwix-serve/metadata/logo.jpg
Normal file
BIN
apps/kiwix-serve/metadata/logo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Loading…
Reference in New Issue
Block a user