-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathgogs.json
More file actions
38 lines (38 loc) · 2.4 KB
/
Copy pathgogs.json
File metadata and controls
38 lines (38 loc) · 2.4 KB
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
{
"Gogs": {
"description": "Go Git Service, a lightweight Git version control server and front end. <p>Based on the <a href='https://hub.docker.com/r/gogs/gogs' target='_blank'>official OCI image</a>, available for amd64 and arm64 architecture.</p>",
"version": "1.1",
"website": "https://gogs.io/",
"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>",
"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.",
"label": "SSH port [e.g. 3022]",
"host_default": 3022
},
"3000": {
"description": "Gogs WebUI port.",
"label": "WebUI port [e.g. 3000]",
"host_default": 3000,
"protocol": "tcp",
"ui": true
}
},
"volumes": {
"/data": {
"description": "Share for gogs configuration and database.",
"label": "Config Storage [e.g. gogs-config]"
},
"/data/git/gogs-repositories": {
"description": "Share for your git repositories.",
"label": "Git Storage [e.g. gogs-repos]"
}
}
}
}
}
}