Skip to content

Commit

Permalink
Correcting config
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Nov 14, 2024
1 parent 6d78d53 commit 93e7435
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 3 additions & 2 deletions docker/baget/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ services:
stop_signal: SIGINT
environment:
- VERDACCIO_PORT=8080
- VERDACCIO_PUBLIC_URL=https://npm.local:5555
volumes:
- ./verdacio/conf:/verdaccio/conf
- ./verdacio/plugins:/verdaccio/plugins
- ./npm/conf:/verdaccio/conf
- ./npm/plugins:/verdaccio/plugins
- /cache/npm/storage:/verdaccio/storage
healthcheck:
test: wget --no-verbose --tries=1 --spider http://127.0.0.1:8080 || exit 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
storage: ./storage
storage: /verdaccio/storage
auth:
htpasswd:
file: ./htpasswd
max_users: -1
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:

'@*/*':
access: $all
publish: $authenticated
access: $anonymous
publish: $anonymous
proxy: npmjs
'**':
access: $anonymous
publish: $anonymous
proxy: npmjs
log: { type: stdout, format: pretty, level: http }

0 comments on commit 93e7435

Please sign in to comment.