/baget-docker

Start BaGet nuget server with docker-compose.

MIT LicenseMIT

baget-docker

Run BaGet nuget server with docker-compose.

How to run

  1. Modify your api key in docker-compose.yaml.

  2. Start your baget nuget server.

    docker compose up -d

Push nuget package

dotnet nuget push your-package-name.nupkg -s "http://localhost:5555/v3/index.json" -k "your-api-key"

Pull nuget package

dotnet nuget add source "http://localhost:5555/v3/index.json" -n "baget"

or directly edit NuGet.Config

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
	<add key="baget" value="http://localhost:5555/v3/index.json" />
  </packageSources>
</configuration>

Reference