Gogs stores all git repositories in /data/git/gogs-repositories, so they are lost after each restart. This results in error 500 when you try to open the repository. Also you can find generated SSH keys in /data/ssh that are being lost too. This commit changes the gogs-data volume to point to /data to achieve data persistence and to avoid creation of dangling volumes.
Rancher Community Catalog
This catalog provides templates created by the community, and they are not maintained or supported by Rancher Labs.
License
Copyright (c) 2014-2016 Rancher Labs, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Description
Languages
Smarty
97.6%
Python
1.8%
Shell
0.6%