2024-08-13 03:01:00 +03:00
|
|
|
# tracker | MatterLinux package tracker
|
2025-01-28 07:59:04 +03:00
|
|
|
|
|
|
|
![](https://git.matterlinux.xyz/matter/tracker/actions/workflows/docker.yml/badge.svg)
|
|
|
|
|
2024-08-13 03:01:00 +03:00
|
|
|
Soruce code of MatterLinux's package tracker, located at
|
2024-01-17 20:15:46 +03:00
|
|
|
[tracker.matterlinux.xyz](https://tracker.matterlinux.xyz)
|
2024-01-17 20:06:26 +03:00
|
|
|
|
|
|
|
### Configuration
|
2024-08-13 03:01:00 +03:00
|
|
|
Tracker can be configured to track different repos. Configuration
|
|
|
|
is stored in the `config.json` file. Here is the configuration for tracking
|
2024-02-23 21:31:38 +03:00
|
|
|
official MatterLinux 24 repos:
|
2024-08-13 03:01:00 +03:00
|
|
|
```json
|
2024-01-17 20:06:26 +03:00
|
|
|
{
|
2024-11-22 16:56:02 +03:00
|
|
|
"interval": 5,
|
2024-08-13 03:01:00 +03:00
|
|
|
"pools": [
|
2024-01-17 20:06:26 +03:00
|
|
|
{
|
2024-08-13 03:01:00 +03:00
|
|
|
"display": "base (stable)",
|
2024-01-17 20:06:26 +03:00
|
|
|
"name": "base",
|
2024-08-13 03:01:00 +03:00
|
|
|
"dir": "/srv/pools/base",
|
2024-01-17 20:06:26 +03:00
|
|
|
"branch": "main",
|
|
|
|
"source": "https://git.matterlinux.xyz/Matter/base",
|
2024-08-13 03:01:00 +03:00
|
|
|
"url": "mptp://stable.matterlinux.xyz/base"
|
2024-01-17 20:06:26 +03:00
|
|
|
},
|
|
|
|
{
|
2024-08-13 03:01:00 +03:00
|
|
|
"display": "desktop (stable)",
|
2024-01-17 20:06:26 +03:00
|
|
|
"name": "desktop",
|
2024-08-13 03:01:00 +03:00
|
|
|
"dir": "/srv/pools/desktop",
|
2024-01-17 20:06:26 +03:00
|
|
|
"branch": "main",
|
|
|
|
"source": "https://git.matterlinux.xyz/Matter/desktop",
|
2024-08-13 03:01:00 +03:00
|
|
|
"url": "mptp://stable.matterlinux.xyz/desktop"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"display": "server (stable)",
|
|
|
|
"name": "server",
|
|
|
|
"dir": "/srv/pools/server",
|
|
|
|
"branch": "main",
|
|
|
|
"source": "https://git.matterlinux.xyz/Matter/server",
|
|
|
|
"url": "mptp://stable.matterlinux.xyz/server"
|
2024-01-17 20:06:26 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### Deployment
|
2025-01-28 07:59:04 +03:00
|
|
|
Web server can be deployed with docker compose using the following configuration file:
|
2024-08-13 03:01:00 +03:00
|
|
|
```yaml
|
|
|
|
services:
|
|
|
|
tracker:
|
2025-01-28 07:59:04 +03:00
|
|
|
container_name: mattertracker
|
|
|
|
image: git.matterlinux.xyz/matter/tracker
|
2024-08-13 03:01:00 +03:00
|
|
|
ports:
|
2025-01-28 07:59:04 +03:00
|
|
|
- "127.0.0.1:9877:9877"
|
2024-08-13 03:01:00 +03:00
|
|
|
volumes:
|
2025-01-28 07:59:04 +03:00
|
|
|
- "./config.json:/app/config.json:ro"
|
|
|
|
restart: unless-stopped
|
2024-01-17 20:06:26 +03:00
|
|
|
```
|
2025-01-28 07:59:04 +03:00
|
|
|
After saving the configuration file, you can run the docker container:
|
2024-08-13 03:01:00 +03:00
|
|
|
```bash
|
2024-01-17 20:06:26 +03:00
|
|
|
docker-compose up -d
|
|
|
|
```
|