1
+ #
2
+ # This is the config file used for the docker images.
3
+ # It allows all users to do anything, so don't use it on production systems.
4
+ #
5
+ # Do not configure host and port under `listen` in this file
6
+ # as it will be ignored when using docker.
7
+ # see https://github.com/verdaccio/verdaccio/blob/master/wiki/docker.md#docker-and-custom-port-configuration
8
+ #
9
+ # Look here for more config file examples:
10
+ # https://github.com/verdaccio/verdaccio/tree/master/conf
11
+ #
12
+
13
+ # The only reason why we need a custom built docker image is because there is
14
+ # no way to configure the existing container images to have a max body size
15
+ # higher than the default 10 MB without mounting a volume with a config file
16
+ max_body_size : 1000mb
17
+
18
+ # path to a directory with all packages
19
+ storage : /verdaccio/storage
20
+
21
+ # a list of other known repositories we can talk to
22
+ uplinks :
23
+ npmjs :
24
+ url : https://registry.npmjs.org/
25
+
26
+ packages :
27
+ ' @scope/* ' :
28
+ # scoped packages
29
+ access : $all
30
+ publish : $all
31
+ proxy : npmjs
32
+ ' @*/* ' :
33
+ # scoped packages
34
+ access : $all
35
+ publish : $all
36
+ proxy : npmjs
37
+ ' ** ' :
38
+ # allow all users (including non-authenticated users) to read and
39
+ # publish all packages
40
+ #
41
+ # you can specify usernames/groupnames (depending on your auth plugin)
42
+ # and three keywords: "$all", "$anonymous", "$authenticated"
43
+ access : $all
44
+
45
+ # allow anyone to publish packages so there is no need to register a user
46
+ publish : $all
47
+
48
+ # if package is not available locally, proxy requests to 'npmjs' registry
49
+ proxy : npmjs
50
+
51
+ # log settings
52
+ logs :
53
+ - { type: stdout, format: pretty, level: trace }
54
+ # - {type: file, path: verdaccio.log, level: info}
55
+
56
+ listen :
57
+ - 0.0.0.0:4873
0 commit comments