feat(libreddit): allow exposure and domain name

This commit is contained in:
Nicolas Meienberger 2022-09-06 08:45:01 +02:00
parent e2132ed9a3
commit 24fe7e7bfa
4 changed files with 20 additions and 1 deletions

View File

@ -2,9 +2,10 @@
"$schema": "../schema.json",
"name": "LibReddit",
"available": true,
"exposable": true,
"port": 8105,
"id": "libreddit",
"tipi_version": 1,
"tipi_version": 2,
"version": "latest",
"categories": ["social"],
"description": "LibReddit is a bloat free reddit frontend written in Rust, no ads, no tracking and strong Content Security Policy prevents any request from going to reddit, everything is proxied.",

View File

@ -10,3 +10,10 @@ services:
restart: unless-stopped
networks:
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.libreddit.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.libreddit.entrypoints: websecure
traefik.http.routers.libreddit.service: libreddit
traefik.http.routers.libreddit.tls.certresolver: myresolver
traefik.http.services.libreddit.loadbalancer.server.port: 8080

View File

@ -10,3 +10,11 @@ services:
restart: unless-stopped
networks:
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.libreddit.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.libreddit.entrypoints: websecure
traefik.http.routers.libreddit.service: libreddit
traefik.http.routers.libreddit.tls.certresolver: myresolver
traefik.http.services.libreddit.loadbalancer.server.port: 8080

View File

@ -12,6 +12,9 @@
"available": {
"type": "boolean"
},
"exposable": {
"type": "boolean"
},
"port": {
"type": "integer",
"minimum": 0,