updated with Action Runner

This commit is contained in:
2026-06-21 17:03:02 +03:30
parent ab461a5c08
commit 4c2da84795
14 changed files with 525 additions and 221 deletions
+83
View File
@@ -0,0 +1,83 @@
# BaGet
## Overview
BaGet is the private NuGet package server for Silver Solutions.
URL:
```text
https://nuget.silveressence.net
```
Status:
```text
Running
```
Public HTTPS access is routed through Nginx Proxy Manager. The BaGet container is connected to the external `proxy` Docker network.
NuGet v3 feed:
```text
https://nuget.silveressence.net/v3/index.json
```
## Configuration
Current configuration is stored directly in the Docker Compose file.
Location:
```text
/srv/docker/baget/docker-compose.yml
```
Current configuration includes:
* ApiKey
* Storage configuration
* Database configuration
* Search configuration
## Data Storage
```text
/srv/docker/baget/data
```
This directory contains the SQLite database and hosted NuGet packages and should be included in backups.
## Reverse Proxy
| Setting | Value |
| ---------------- | ----------------------------------- |
| Public URL | `https://nuget.silveressence.net` |
| Target container | `baget` |
| Target port | `80` |
| Docker network | `proxy` |
## Gitea Actions Integration
The Silver 2.0 workflow at `.gitea/workflows/package.yml` publishes packages to this feed through the global `silverlinux-runner`.
Publishing requires the repository Actions secret:
```text
BAGET_API_KEY
```
It is stored under **Repository Settings -> Actions -> Secrets** and must never be committed to a repository.
The end-to-end Gitea Actions to BaGet publishing pipeline is operational.
### Future Improvement
BaGet configuration should eventually be migrated to:
```text
/srv/secrets/company.env
```
to centralize secret management across SilverLinux services.
+26
View File
@@ -0,0 +1,26 @@
services:
baget:
image: loicsharma/baget:latest
container_name: baget
restart: unless-stopped
ports:
- "5555:80"
environment:
ApiKey: "your api key"
Storage__Type: FileSystem
Storage__Path: /var/baget/packages
Database__Type: Sqlite
Database__ConnectionString: Data Source=/var/baget/baget.db
Search__Type: Database
volumes:
- /srv/docker/baget/data:/var/baget
networks:
- proxy
networks:
proxy:
external: true