Merge branch 'sethforprivacy-app/nitter/add-traefik-labels'
This commit is contained in:
commit
4de33ffd7c
|
@ -2,9 +2,10 @@
|
||||||
"$schema": "../schema.json",
|
"$schema": "../schema.json",
|
||||||
"name": "Nitter",
|
"name": "Nitter",
|
||||||
"available": true,
|
"available": true,
|
||||||
|
"exposable": true,
|
||||||
"port": 8106,
|
"port": 8106,
|
||||||
"id": "nitter",
|
"id": "nitter",
|
||||||
"tipi_version": 1,
|
"tipi_version": 2,
|
||||||
"version": "latest",
|
"version": "latest",
|
||||||
"categories": ["social"],
|
"categories": ["social"],
|
||||||
"description": "A free and open source alternative Twitter front-end focused on privacy and performance.",
|
"description": "A free and open source alternative Twitter front-end focused on privacy and performance.",
|
||||||
|
|
|
@ -13,8 +13,20 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- nitter-redis
|
- nitter-redis
|
||||||
restart: unless-stopped
|
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:
|
nitter-redis:
|
||||||
image: redis:6-alpine
|
image: redis:alpine
|
||||||
container_name: nitter-redis
|
container_name: nitter-redis
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
|
|
Loading…
Reference in New Issue
Block a user