This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
FROM verdaccio/verdaccio
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
RUN yarn add verdaccio-github-oauth-ui@5
|
||||||
|
RUN yarn add verdaccio-gitea-auth
|
||||||
|
|
||||||
|
COPY verdaccio.yaml /verdaccio/conf/config.yaml
|
||||||
|
|
||||||
|
USER verdaccio
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
storage: ./storage
|
||||||
|
auth:
|
||||||
|
gitea-auth:
|
||||||
|
url: https://gitea.bramkelchtermans.be
|
||||||
|
defaultOrg: LaughNCode
|
||||||
|
htpasswd:
|
||||||
|
file: ./htpasswd
|
||||||
|
uplinks:
|
||||||
|
npmjs:
|
||||||
|
url: https://registry.npmjs.org/
|
||||||
|
packages:
|
||||||
|
"@*/*":
|
||||||
|
access: $all
|
||||||
|
publish: $authenticated
|
||||||
|
proxy: npmjs
|
||||||
|
"**":
|
||||||
|
proxy: npmjs
|
||||||
|
log: { type: stdout, format: pretty, level: http }
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
1.0
|
||||||
Reference in New Issue
Block a user