nuget next是一款基於baget的一款私有化nuget管理平台,我們對baget進行了擴展,並且提供了更多的功能。
nuget 最新版開源私有化包管理,我們基於baget的基礎之上增加了更多的功能,並且對中國市場做更多兼容,比如國產化支持。


功能居間
- 支持用戶管理
- 支持包管理溯源
- 支持包管理
- 用戶支持自定義key
- 支持sqlserver資料庫
- 支持postgresql資料庫
- 支持mysql資料庫
- 支持dm(達夢)資料庫
快速部署
使用docker compose快速部署
version: '3.8'
services:
nuget.next:
image: registry.token-ai.cn/ai-dotnet/nuget-next
build:
context: .
dockerfile: src/NuGet.Next/Dockerfile
container_name: nuget-next
ports:
- "5000:8080"
volumes:
- ./nuget:/app/data # 请注意手动创建data目录,负责在Linux下可能出现权限问题导致无法写入
environment:
- Database:Type=SqLite
- Database:ConnectionString=Data Source=/app/data/nuget.db # 数据库连接字符串
- Mirror:Enabled=true # 是否启用镜像源
- Mirror:PackageSource=https://api.nuget.org/v3/index.json # 镜像源,如果本地没有会自动从镜像源拉取
- RunMigrationsAtStartup:true # 是否在启动时运行迁移,如果是第一次启动请设置为true
docker-compose up -d
國產化支持
version: '3.8'
services:
nuget.next:
image: registry.token-ai.cn/ai-dotnet/nuget-next
build:
context: .
dockerfile: src/NuGet.Next/Dockerfile
container_name: nuget-next
ports:
- "5000:8080"
volumes:
- ./nuget:/app/data # 请注意手动创建data目录,负责在Linux下可能出现权限问题导致无法写入
environment:
- Database:Type=DM # 达梦数据库
- Database:ConnectionString=Server=localhost;User id=SYSDBA;PWD=SYSDBA;DATABASE=NUGET # 数据库连接字符串
- Mirror:Enabled=true # 是否启用镜像源
- Mirror:PackageSource=https://api.nuget.org/v3/index.json # 镜像源,如果本地没有会自动从镜像源拉取
- RunMigrationsAtStartup:true # 是否在启动时运行迁移,如果是第一次启动请设置为true
docker-compose up -d
postgresql資料庫
version: '3.8'
services:
nuget.next:
image: registry.token-ai.cn/ai-dotnet/nuget-next
build:
context: .
dockerfile: src/NuGet.Next/Dockerfile
container_name: nuget-next
ports:
- "5000:8080"
volumes:
- ./nuget:/app/data # 请注意手动创建data目录,负责在Linux下可能出现权限问题导致无法写入
environment:
- Database:Type=PostgreSql
- Database:ConnectionString=Host=postgres;Port=5432;Database=nuget-next;Username=token;Password=dd666666;
- Mirror:Enabled=true # 是否启用镜像源
- Mirror:PackageSource=https://api.nuget.org/v3/index.json # 镜像源,如果本地没有会自动从镜像源拉取
- RunMigrationsAtStartup:true # 是否在启动时运行迁移,如果是第一次启动请设置为true
docker-compose up -d
mysql資料庫
version: '3.8'
services:
nuget.next:
image: registry.token-ai.cn/ai-dotnet/nuget-next
build:
context: .
dockerfile: src/NuGet.Next/Dockerfile
container_name: nuget-next
ports:
- "5000:8080"
volumes:
- ./nuget:/app/data # 请注意手动创建data目录,负责在Linux下可能出现权限问题导致无法写入
environment:
- Database:Type=MySql
- Database:ConnectionString=Server=mysql;Port=3306;Database=nuget-next;Uid=root;Pwd=dd666666;
- Mirror:Enabled=true # 是否启用镜像源
- Mirror:PackageSource=https://api.nuget.org/v3/index.json # 镜像源,如果本地没有会自动从镜像源拉取
- RunMigrationsAtStartup:true # 是否在启动时运行迁移,如果是第一次启动请设置为true
docker-compose up -d
sqlserver資料庫
version: '3.8'
services:
nuget.next:
image: registry.token-ai.cn/ai-dotnet/nuget-next
build:
context: .
dockerfile: src/NuGet.Next/Dockerfile
container_name: nuget-next
ports:
- "5000:8080"
volumes:
- ./nuget:/app/data # 请注意手动创建data目录,负责在Linux下可能出现权限问题导致无法写入
environment:
- Database:Type=SqlServer
- Database:ConnectionString=Server=sqlserver;Database=nuget-next;User Id=sa;Password=dd666666;
- Mirror:Enabled=true # 是否启用镜像源
- Mirror:PackageSource=https://api.nuget.org/v3/index.json # 镜像源,如果本地没有会自动从镜像源拉取
- RunMigrationsAtStartup:true # 是否在启动时运行迁移,如果是第一次启动请设置为true
docker-compose up -d
使用說明
- 默認用戶名:admin
- 默認密碼:aa123456.
聯繫我們
- 官方網站
- GitHub
- Gitee
- 郵箱
- qq群
GitHub: https://github.com/AIDotNet/NuGet.Next
Gitee: https://gitee.com/aidotnet/NuGet.Next
示例網站:https://nuget.token-ai.cn/
