Skip to content

Instantly share code, notes, and snippets.

@DutchCaveman
Created April 4, 2020 16:41
Show Gist options
  • Save DutchCaveman/4287549fc36dace5ac780ce023ddb05a to your computer and use it in GitHub Desktop.
Save DutchCaveman/4287549fc36dace5ac780ce023ddb05a to your computer and use it in GitHub Desktop.
Docker usage of BaGet with basic authentication
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: ~
@DutchCaveman
Copy link
Author

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