Merge branch 'sethforprivacy-app/nitter/add-traefik-labels'
This commit is contained in:
commit
4de33ffd7c
|
@ -2,9 +2,10 @@
|
|||
"$schema": "../schema.json",
|
||||
"name": "Nitter",
|
||||
"available": true,
|
||||
"exposable": true,
|
||||
"port": 8106,
|
||||
"id": "nitter",
|
||||
"tipi_version": 1,
|
||||
"tipi_version": 2,
|
||||
"version": "latest",
|
||||
"categories": ["social"],
|
||||
"description": "A free and open source alternative Twitter front-end focused on privacy and performance.",
|
||||
|
|
|
@ -13,8 +13,20 @@ services:
|
|||
depends_on:
|
||||
- nitter-redis
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost:8080"]
|
||||
interval: 1m
|
||||
timeout: 3s
|
||||
labels:
|
||||
traefik.enable: ${APP_EXPOSED}
|
||||
traefik.http.routers.nitter.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.nitter.entrypoints: websecure
|
||||
traefik.http.routers.nitter.service: nitter
|
||||
traefik.http.routers.nitter.tls.certresolver: myresolver
|
||||
traefik.http.services.nitter.loadbalancer.server.port: 8080
|
||||
|
||||
nitter-redis:
|
||||
image: redis:6-alpine
|
||||
image: redis:alpine
|
||||
container_name: nitter-redis
|
||||
networks:
|
||||
- tipi_main_network
|
||||
|
|
Loading…
Reference in New Issue
Block a user