Skip to content

p4nda/BaGet

 
 

Repository files navigation

BaGet 🥖

Build status

A lightweight NuGet and symbol server.

Getting Started

  1. Install the .NET SDK
  2. Download and extract BaGet's latest release
  3. Start the service with dotnet BaGet.dll
  4. Browse https://localhost:8081/ in your browser

For more information, please refer to the documentation.

Features

Stay tuned, more features are planned!

PostgreSQL

postgres=# CREATE USER baget_user WITH PASSWORD '...';
postgres=# CREATE DATABASE baget_db OWNER baget_user ENCODING 'UTF8';
postgres=# GRANT ALL PRIVILEGES ON DATABASE baget_db TO baget_user;
postgres=# \c baget_db
postgres=# CREATE EXTENSION citext
# Add user to pg_hba.conf

Container

podman build --build-arg BUILD_TIMESTAMP=$(date +'%Y%m%d-%H%M') -t localhost/ndf-baget:latest -f ./Dockerfile
podman run -d --rm -p 8081:8081 \
  -v /home/service-baget/cert:/app/cert:Z,ro \
  -v /home/service-baget/conf:/home/baget/conf:Z,ro \
  -v /home/service-baget/logs:/home/baget/logs:Z,rw \
  -v /mnt/baget/packages:/home/baget/packages:Z,rw \
  localhost/ndf-baget:latest

TLS Setup

  1. Create baget.pfx from crt, key and Root CA
  2. Check Program.cs
openssl pkcs12 -export -out baget.pfx -inkey baget.key -in baget.crt -certfile baget.Root_CA.crt

About

A lightweight NuGet and symbol server

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 94.4%
  • HTML 3.5%
  • Other 2.1%