summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeskyblue <codeskyblue@gmail.com>2015-08-17 15:17:18 +0800
committercodeskyblue <codeskyblue@gmail.com>2015-08-17 15:17:18 +0800
commit9371fbe71a10f9449c805a1fd27968397d4f7cdb (patch)
tree0beb50cabe251663a65ff95e7c9efc06a0280684
parentfeb3cfa067d1daff4d8e181d588137c151b60b96 (diff)
downloadgitea-9371fbe71a10f9449c805a1fd27968397d4f7cdb.tar.gz
gitea-9371fbe71a10f9449c805a1fd27968397d4f7cdb.zip
add docker ssh support
-rw-r--r--Dockerfile23
-rw-r--r--docker/README.md27
2 files changed, 23 insertions, 27 deletions
diff --git a/Dockerfile b/Dockerfile
index 012ceb25bc..a6d23cfc87 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,29 +1,14 @@
-#FROM debian:wheezy-backports
FROM google/golang:latest
+MAINTAINER codeskyblue@gmail.com
+
RUN echo "deb http://ftp.debian.org/debian/ wheezy-backports main" >> /etc/apt/sources.list
RUN apt-get update
-#RUN apt-get install -y gcc libc6-dev make --no-install-recommends
-
-# install golang
-#ENV GOLANG_VERSION 1.4.3
-#RUN curl -sSL https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz \
-# | tar -v -C /usr/src -xz
-#RUN cd /usr/src/go/src && ./make.bash --no-clean 2>&1
-#ENV PATH /usr/src/go/bin:$PATH
-#ENV GOPATH /gopath
-
-ENV TAGS="sqlite redis memcache"
-COPY . /gopath/src/github.com/gogits/gogs/
-
-#RUN apt-cache search openssh-server
RUN apt-get install -y openssh-server rsync
-##RUN echo "deb http://ftp.debian.org/debian/ wheezy-backports main" >> /etc/apt/sources.list \
-# && apt-get update \
-# && apt-get install -y -t wheezy-backports openssh-server rsync
-
# set the working directory and add current stuff
+COPY . /gopath/src/github.com/gogits/gogs/
WORKDIR /gopath/src/github.com/gogits/gogs/
+
RUN go get -v -tags "sqlite redis memcache cert"
RUN go build -tags "sqlite redis memcache cert"
diff --git a/docker/README.md b/docker/README.md
index 001b5940dd..7b75e7512e 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -2,10 +2,10 @@
## Usage
```
-docker pull codeskyblue/docker-gogs
+docker pull gogits/gogs
mkdir -p /var/gogs
-docker run --name=gogs -d -p 10022:22 -p 10080:3000 -v /var/gogs:/data codeskyblue/docker-gogs
+docker run --name=gogs -p 10022:22 -p 10080:3000 -v /var/gogs:/data gogits/gogs
```
File will store in local path: `/var/gogs`
@@ -13,13 +13,24 @@ File will store in local path: `/var/gogs`
Directory `/var/gogs` keeps git repos and gogs data
/var/gogs
- |── git
- | └── gogs-repositories
+ |-- git
+ | `-- gogs-repositories
|-- ssh
| `-- # ssh pub-pri keys for gogs
`---- gogs
- |── conf
- |── data
- |── log
- |── templates
+ |-- conf
+ |-- data
+ |-- log
+ `-- templates
+## SSH Support
+
+In order to support ssh, You need to change `HTTP_PORT` and `SSH_PORT` in `/var/gogs/gogs/conf/app.ini`
+
+```
+[server]
+HTTP_PORT = 3000
+SSH_PORT = 10022
+```
+
+setting description can be found in <http://gogs.io/docs/advanced/configuration_cheat_sheet.html>
on value='backport/44912/stable27'>backport/44912/stable27 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/l10n/ru/core.po
blob: 68495024b9074989269b5ead376288e226cdc620 (plain)
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# 
# Translators:
#   <jekader@gmail.com>, 2011, 2012.
#   <tony.mccourin@gmail.com>, 2011.
msgid ""
msgstr ""
"Project-Id-Version: ownCloud\n"
"Report-Msgid-Bugs-To: http://owncloud.shapado.com/\n"
"POT-Creation-Date: 2012-05-09 12:29+0200\n"
"PO-Revision-Date: 2012-05-09 10:31+0000\n"
"Last-Translator: icewind <icewind1991@gmail.com>\n"
"Language-Team: Russian (http://www.transifex.net/projects/p/owncloud/language/ru/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ru\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"

#: ajax/vcategories/add.php:23 ajax/vcategories/delete.php:23
msgid "Application name not provided."
msgstr ""

#: ajax/vcategories/add.php:29
msgid "No category to add?"
msgstr ""

#: ajax/vcategories/add.php:36
msgid "This category already exists: "
msgstr ""

#: lostpassword/index.php:26
msgid "Owncloud password reset"
msgstr "Сброс пароля OwnCloud"

#: lostpassword/index.php:27
msgid "ownCloud password reset"
msgstr ""

#: lostpassword/templates/email.php:1
msgid "Use the following link to reset your password: {link}"
msgstr "Используйте следующую ссылку чтобы сбросить пароль: {link}"

#: lostpassword/templates/lostpassword.php:3
msgid "You will receive a link to reset your password via Email."
msgstr "На ваш адрес Email выслана ссылка для сброса пароля."

#: lostpassword/templates/lostpassword.php:5
msgid "Requested"
msgstr "Запрошено"

#: lostpassword/templates/lostpassword.php:8
msgid "Login failed!"
msgstr "Не удалось войти!"

#: lostpassword/templates/lostpassword.php:11 templates/installation.php:25
#: templates/login.php:9
msgid "Username"
msgstr "Имя пользователя"

#: lostpassword/templates/lostpassword.php:15
msgid "Request reset"
msgstr "Запросить сброс"

#: lostpassword/templates/resetpassword.php:4
msgid "Your password was reset"
msgstr "Ваш пароль был сброшен"

#: lostpassword/templates/resetpassword.php:5
msgid "To login page"
msgstr "На страницу авторизации"

#: lostpassword/templates/resetpassword.php:8
msgid "New password"
msgstr "Новый пароль"

#: lostpassword/templates/resetpassword.php:11
msgid "Reset password"
msgstr "Сбросить пароль"

#: strings.php:5
msgid "Personal"
msgstr "Личное"

#: strings.php:6
msgid "Users"
msgstr "Пользователи"

#: strings.php:7
msgid "Apps"
msgstr "Приложения"

#: strings.php:8
msgid "Admin"
msgstr "Администратор"

#: strings.php:9
msgid "Help"
msgstr "Помощь"

#: templates/403.php:12
msgid "Access forbidden"
msgstr ""

#: templates/404.php:12
msgid "Cloud not found"
msgstr "Облако не найдено"

#: templates/edit_categories_dialog.php:4
msgid "Edit categories"
msgstr ""

#: templates/edit_categories_dialog.php:14
msgid "Add"
msgstr ""

#: templates/installation.php:23
msgid "Create an <strong>admin account</strong>"
msgstr "Создать <strong>учётную запись администратора</strong>"

#: templates/installation.php:29 templates/login.php:13
msgid "Password"
msgstr "Пароль"

#: templates/installation.php:35
msgid "Advanced"
msgstr "Дополнительно"

#: templates/installation.php:37
msgid "Data folder"
msgstr "Директория с данными"

#: templates/installation.php:44
msgid "Configure the database"
msgstr "Настройка базы данных"

#: templates/installation.php:49 templates/installation.php:60
#: templates/installation.php:70
msgid "will be used"
msgstr "будет использовано"

#: templates/installation.php:82
msgid "Database user"
msgstr "Имя пользователя для базы данных"

#: templates/installation.php:86
msgid "Database password"
msgstr "Пароль для базы данных"

#: templates/installation.php:90
msgid "Database name"
msgstr "Название базы данных"

#: templates/installation.php:96
msgid "Database host"
msgstr "Хост базы данных"

#: templates/installation.php:101
msgid "Finish setup"
msgstr "Завершить установку"

#: templates/layout.guest.php:37
msgid "web services under your control"
msgstr "Сетевые службы под твоим контролем"

#: templates/layout.user.php:35
msgid "Log out"
msgstr "Выйти"

#: templates/layout.user.php:47 templates/layout.user.php:48
msgid "Settings"
msgstr "Настройки"

#: templates/login.php:6
msgid "Lost your password?"
msgstr "Забыли пароль?"

#: templates/login.php:17
msgid "remember"
msgstr "запомнить"

#: templates/login.php:18
msgid "Log in"
msgstr "Войти"

#: templates/logout.php:1
msgid "You are logged out."
msgstr "Вы вышли."

#: templates/part.pagenavi.php:3
msgid "prev"
msgstr "пред"

#: templates/part.pagenavi.php:20
msgid "next"
msgstr "след"