updated with Action Runner
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user