Skip to content

Commit

Permalink
Add dynamic compose for nitter (#6560)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancelot-Enguerrand authored Jan 29, 2025
1 parent 2fdbdab commit 7c6c47f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/nitter/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"name": "Nitter",
"available": true,
"exposable": true,
"dynamic_config": true,
"port": 8106,
"id": "nitter",
"tipi_version": 3,
"tipi_version": 4,
"version": "latest",
"categories": ["social"],
"description": "A free and open source alternative Twitter front-end focused on privacy and performance.",
Expand All @@ -15,5 +16,5 @@
"form_fields": [],
"supported_architectures": ["arm64", "amd64"],
"created_at": 1691943801422,
"updated_at": 1723566283000
"updated_at": 1736983622993
}
35 changes: 35 additions & 0 deletions apps/nitter/docker-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"$schema": "../dynamic-compose-schema.json",
"services": [
{
"name": "nitter",
"image": "zedeus/nitter:latest",
"isMain": true,
"internalPort": 8080,
"dependsOn": ["nitter-redis"],
"volumes": [
{
"hostPath": "${APP_DATA_DIR}/data/nitter.conf",
"containerPath": "/src/nitter.conf",
"readOnly": true
}
],
"healthCheck": {
"interval": "1m",
"timeout": "3s",
"test": "wget --no-verbose --tries=1 --spider http://localhost:8080"
}
},
{
"name": "nitter-redis",
"image": "redis:alpine",
"volumes": [
{
"hostPath": "${APP_DATA_DIR}/data/redis",
"containerPath": "/data"
}
],
"command": "redis-server --save 60 1 --loglevel warning"
}
]
}

0 comments on commit 7c6c47f

Please sign in to comment.