diff --git a/apps/nitter/config.json b/apps/nitter/config.json index e2e5693e62..db48784d10 100644 --- a/apps/nitter/config.json +++ b/apps/nitter/config.json @@ -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.", @@ -15,5 +16,5 @@ "form_fields": [], "supported_architectures": ["arm64", "amd64"], "created_at": 1691943801422, - "updated_at": 1723566283000 + "updated_at": 1736983622993 } diff --git a/apps/nitter/docker-compose.json b/apps/nitter/docker-compose.json new file mode 100644 index 0000000000..6896ab12cc --- /dev/null +++ b/apps/nitter/docker-compose.json @@ -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" + } + ] +}