-
Notifications
You must be signed in to change notification settings - Fork 3
/
.seed-config.yaml
121 lines (103 loc) · 3.47 KB
/
.seed-config.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
project:
name: "Gomods"
state: "beta" # unstable, beta, stable are supported
image: ""
website: "https://gomods.okkur.org"
oneLiner: "Caddy plugin that provides a caching Go modules proxy with your own domain."
description: |
Gomods is a Caddy plugin that provides a caching Go modules proxy with your own domain.
It supports all the hosting services and VCS` that are supported by Go tools. It also provides local caching
and parallel workers to fetch and store Go modules.
version: "v0.2.0"
mainLicense: "Apachev2"
docsLicense: "CCBySa"
vision:
type: ""
overview: |
Provide an easy to use but full featured proxy server for Go modules with Caddy's features.
items:
- "Easy to setup and use"
- "Local caching, which can optionally be backed by mounting persistent volumes"
- "Parallel workers for fetching and storing modules"
concept: "Gomods' core concept is to make setting up a Go modules proxy server easier and faster."
aim: "Gomods accelerates starting a Go modules proxy process with its easy to understand config and features like parallel workers and caching"
readme:
usageExample: |
Note: The `master` branch is using [Caddy v2](https://caddyserver.com), if you want to use Gomods with previous Caddy versions, check the caddy-v1 branch.
Gomods uses Go tools in the background for fetching the modules so there needs to be an installed version of Go on your machine.
For installing Gomods run the following command:
```
go get go.okkur.org/gomods/cmd/gomods
```
Then you should create a config file like this example:
```
gomods.test {
gomods
}
```
The example above uses the default values for Go binary and number of parallel workers.
To customize these values add these fields to your config file:
```
gomods.test {
gomods {
gobinary /usr/bin/go
workers 2
}
}
```
To enable caching you should also add the `cache` field to the config:
```
gomods.test {
gomods {
cache
}
}
```
Just like `gomods` itself, cache also uses its default values when not provided.
You can specify fields like `type` and `path` to customize caching:
```
gomods.test {
gomods {
cache {
type local
path /home/user/gomods_cache
}
}
}
```
For more information about the configuration options and the JSON config
example, check the [Configuration](/docs/configuration.md) page.
To run Gomods run the following command in the same directory that the config file is located:
```
$ gomods start
```
contributionLinks:
issueTemplate: "/.github/ISSUE_TEMPLATE.md"
starterIssues: "https://github.com/okkur/gomods/labels/starter%20issue"
emails:
commercialSupport: "support@okkur.org"
security: "security@okkur.org"
coc: "coc@okkur.org"
copyright:
owner: "The Gomods authors"
year: "2019"
cla:
copyrightHolder: "nzt.ventures GmbH"
mail: "legal@nzt.ventures"
maintainers:
- name: "Michael Grosser"
nick: "stp-ip"
repo:
link: "https://gomods.okkur.org/repo"
type: "Github"
badges:
- image: "https://img.shields.io/badge/state-beta-blue.svg"
alt: "state"
- image: "https://img.shields.io/github/release/okkur/gomods.svg"
link: "https://gomods.okkur.org/releases"
alt: "release"
- image: "https://img.shields.io/github/license/okkur/gomods.svg"
link: "LICENSE"
alt: "license"
reposeed:
configVersion: "v1"