forked from bufferoverflow/verdaccio-gitlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker.yaml
75 lines (62 loc) · 1.95 KB
/
docker.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#
# SocialEngineers Verdaccio config file
# GitLab integration config inspired by https://github.com/snics/docker-verdaccio-gitlab/blob/1d08f3a062e894526da72c81077780222410fddf/config.yaml
#
# Do not configure host and port under `listen` in this file
# as it will be ignored when using docker.
# see https://github.com/verdaccio/verdaccio/blob/master/wiki/docker.md#docker-and-custom-port-configuration
#
# Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/master/conf
#
# path to a directory with all packages
storage: /verdaccio/storage/data
# path to a directory with plugins to include
plugins: /verdaccio/plugins
web:
# WebUI is enabled as default
enable: true
title: Verdaccio - SocialEngineers
auth:
gitlab:
url: https://code.communitybuildar.com
publish: $maintainer
# a list of other known repositories we can talk to
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
'@cbar/*':
# @cbar scoped packages
access: $authenticated
publish: $authenticated
proxy: npmjs
gitlab: true
'@*/*':
# All other scoped packages
access: $all
publish: $authenticated
proxy: npmjs
gitlab: true
'**':
# allow all users (including non-authenticated users) to read all packages
#
# you can specify usernames/groupnames (depending on your auth plugin)
# and three keywords: "$all", "$anonymous", "$authenticated"
access: $all
# allow all known users to publish packages
# (anyone can register by default, remember?)
# publish: $authenticated
# if package is not available locally, proxy requests to 'npmjs' registry
proxy: npmjs
gitlab: true
# To use `npm audit` uncomment the following section
middlewares:
audit:
enabled: true
# Our registry can be accessed at "https://npm.communitybuildar.com/"
url_prefix: ""
# log settings
logs:
- {type: stdout, format: pretty, level: http}
#- {type: file, path: verdaccio.log, level: info}