update Docker info
This commit is contained in:
parent
acf428863c
commit
86d3c5cbb3
4 changed files with 16 additions and 2 deletions
|
@ -53,6 +53,7 @@ code = Code
|
||||||
[install]
|
[install]
|
||||||
install = Installation
|
install = Installation
|
||||||
title = Install Steps For First-time Run
|
title = Install Steps For First-time Run
|
||||||
|
docker_helper = If you're running Gogs inside Docker, please read <a target="_blank" href="%s">Guidelines</a> carefully before you change anything in this page!
|
||||||
requite_db_desc = Gogs requires MySQL, PostgreSQL, SQLite3 or TiDB.
|
requite_db_desc = Gogs requires MySQL, PostgreSQL, SQLite3 or TiDB.
|
||||||
db_title = Database Settings
|
db_title = Database Settings
|
||||||
db_type = Database Type
|
db_type = Database Type
|
||||||
|
|
|
@ -48,6 +48,17 @@ Most of settings are obvious and easy to understand, but there are some settings
|
||||||
|
|
||||||
Full documentation of settings can be found [here](http://gogs.io/docs/advanced/configuration_cheat_sheet.html).
|
Full documentation of settings can be found [here](http://gogs.io/docs/advanced/configuration_cheat_sheet.html).
|
||||||
|
|
||||||
|
## Upgrade
|
||||||
|
|
||||||
|
:exclamation::exclamation::exclamation:<span style="color: red">**Make sure you have volumed data to somewhere outside Docker container**</span>:exclamation::exclamation::exclamation:
|
||||||
|
|
||||||
|
Steps to upgrade Gogs with Docker:
|
||||||
|
|
||||||
|
- `docker pull gogs/gogs`
|
||||||
|
- `docker stop gogs`
|
||||||
|
- `docker rm gogs`
|
||||||
|
- Finally, create container as the first time and don't forget to do same volume and port mapping.
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
If you see the following error:
|
If you see the following error:
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -8,6 +8,8 @@
|
||||||
<div class="ui attached segment">
|
<div class="ui attached segment">
|
||||||
{{template "base/alert" .}}
|
{{template "base/alert" .}}
|
||||||
|
|
||||||
|
<p>{{.i18n.Tr "install.docker_helper" "https://github.com/gogits/gogs/tree/master/docker" | Safe}}</p>
|
||||||
|
|
||||||
<form class="ui form" action="{{AppSubUrl}}/install" method="post">
|
<form class="ui form" action="{{AppSubUrl}}/install" method="post">
|
||||||
<!-- Dtabase Settings -->
|
<!-- Dtabase Settings -->
|
||||||
<h4 class="ui dividing header">{{.i18n.Tr "install.db_title"}}</h4>
|
<h4 class="ui dividing header">{{.i18n.Tr "install.db_title"}}</h4>
|
||||||
|
|
Loading…
Reference in a new issue