forked from rockstor/rockon-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gogs.json
42 lines (42 loc) · 2.3 KB
/
gogs.json
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
{
"Gogs": {
"containers": {
"gogs": {
"image": "gogs/gogs",
"launch_order": 1,
"ports": {
"22": {
"description": "Gogs ssh port. You may need to open it on your firewall if you want access from outside your local network. Suggested default: 3022.",
"host_default": 3022,
"label": "ssh port",
"procotol": "tcp"
},
"3000": {
"description": "Gogs WebUI port. Suggested default: 3000",
"host_default": 3000,
"label": "WebUI port",
"protocol": "tcp",
"ui": true
}
},
"volumes": {
"/data": {
"description": "Choose a Share for gogs configuration and database.",
"label": "Config Storage"
},
"/data/git/gogs-repositories": {
"description": "Choose a Share for your git repositories.",
"label": "Git Storage"
}
}
}
},
"description": "Go Git Service, a lightweight Git version control server and front end",
"more_info": "<h4>Authentication</h4><p>Gogs will take you through its configuration when first run. You can set an admin username and password then; otherwise, the first user to register will automatically get administrator rights.</p><h4>Configuration</h4><p>Change Domain to reflect your Rockstor server name or IP address. The SSH Port is used for git<code>ssh</code>access and should be changed to the port you configured (3022 by default). Similarly, the HTTP Port (3000 by default) may also require changing. Finally, the Application URL is used for git<code>http</code>access and should reflect the Rockstor server and Gogs Rock-on port.</p><p>Use the SQLite3 database if you don't want to use an external database. Do <em>not</em> change the repository root path (<code>/data/git/gogs-repositories</code>) or the git storage share won't work.</p><h4>Afterwards</h4><p>You can inspect and where necessary modify your configuration in <code>gogs/conf/app.ini</code> on the gogs configuration Share.</p><p>The git Share will host all your git repositories in standard (bare) format, and repositories for any wikis that you create.<p>",
"ui": {
"slug": ""
},
"website": "https://gogs.io/",
"version": "1.0"
}
}