Created
April 4, 2020 16:41
-
-
Save DutchCaveman/4287549fc36dace5ac780ce023ddb05a to your computer and use it in GitHub Desktop.
Docker usage of BaGet with basic authentication
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
authenticate: | |
image: "quay.io/dtan4/nginx-basic-auth-proxy:latest" | |
ports: | |
- 80:80 | |
environment: | |
- BASIC_AUTH_USERNAME=username | |
- BASIC_AUTH_PASSWORD=password | |
- PROXY_PASS=http://nuget.julian.wtf/ | |
- CLIENT_MAX_BODY_SIZE=100m | |
- SERVER_NAME=nuget.julian.wtf | |
networks: | |
- nuget.julian.wtf | |
restart: always | |
baget: | |
image: "loicsharma/baget" | |
container_name: nuget.julian.wtf | |
expose: | |
- 80 | |
environment: | |
- ApiKey= | |
- PackageDeletionBehavior=HardDelete | |
networks: | |
- nuget.julian.wtf | |
restart: always | |
networks: | |
nuget.julian.wtf: ~ |
I need this for nuget, and actually my preference for a package service was teamcity. But their implementation was broken: Hence why I was looking for alternatives.
Then you should definitely contact JetBrains for support. It’s more neat to use a complete eco system of some kind, this becomes more important if it is used for more serious development purposes 😉.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No problem! But maybe take a look at the mentioned private package service (NuGet, NPM, Maven) of Github 😉.