silverwind
ae52df6a64
Add markdownlint ( #20512 )
...
Add `markdownlint` linter and fix issues. Config is based on the one
from electron's repo with a few rules relaxed.
2 years ago
Kevin Samuel
3f87525249
patch (doc): add heading to ssh flow explanation ( #20506 )
2 years ago
wxiaoguang
4266bd924b
Update document to use FHS `/usr/local/bin/gitea` instead of `/app/...` for Docker ( #19794 )
...
* Update document to use FHS `/usr/local/bin/gitea` instead of `/app/...` in Docker
* Update docs/content/doc/installation/with-docker.zh-cn.md
3 years ago
Stephen J. Fuhry
695c4b4b0e
upgrade postgres refrence to 14 ( #19416 )
3 years ago
mscherer
35541f853b
Fix documentation and #19065 ( #19067 )
3 years ago
zeripath
165ab17a03
Attempt to improve docs (yet again) ( #18687 )
...
* Attempt to improve docs (yet again)
Attempt to make the passthrough docs clearer.
Add some more faq entries
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Gusted <williamzijl7@hotmail.com>
* Update docs/content/doc/installation/with-docker.en-us.md
* Update docs/content/doc/installation/with-docker.en-us.md
Co-authored-by: Gusted <williamzijl7@hotmail.com>
3 years ago
zeripath
bc77b28d9d
Make docker gitea/gitea:v1.16-dev etc refer to the latest build on that branch ( #18551 )
...
* Make docker gitea/gitea:v1.16-dev etc refer to the latest build on that branch
One of the problems with our current docker tagging is that although we
have strict version tags, latest and dev we do not have a way for docker
users to track the current release branch. This PR simply suggests that
we use the 1.x-dev tag for these and we build and push these. This will
give users who want or need unreleased bug fixes the option of tracking
the pre-release version instead of simply jumping to dev.
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
3 years ago
zeripath
8472884cef
Update the SSH passthrough documentation ( #18366 )
3 years ago
Andrey Esin
c0ed869e0f
Fix identation typo in doc installation with Docker ( #18233 )
3 years ago
Greg Myers
79791ba4ac
Fix typos in docs/content ( #18215 )
3 years ago
qwerty287
5754080eb9
Fix various typos of software names ( #18083 )
...
* `git` -> `Git`
* `Github` and `github` -> `GitHub`
* `crowdin` -> `Crowdin`
* `git-lfs` -> `Git LFS`
* `githooks`, `git hooks`, `git-hooks` -> `Git Hooks`
* `discord` -> `Discord`
* `2fa` -> `2FA`
* `gitlab` and `Gitlab` -> `GitLab`
* `web hook` -> `webhook`
* `linux` -> `Linux`
* `sqlite` -> `SQLite`
* `MYSQL` and `mysql` -> `MySQL`
* rename refs to `master` branch -> `main`
* Fix English grammar
3 years ago
qwerty287
b1df890951
Docs: replace `gitea` with `Gitea` ( #17838 )
...
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
3 years ago
Mashiro
f0376b7e02
docs: add permission notes to `SSH Container Passthrough` ( #17347 )
...
* Update with-docker.en-us.md
* Update with-docker.en-us.md
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 years ago
techknowlogick
e180456983
Change docker tag logic ( #16421 )
...
* Change docker logic
* Apply suggestions from code review
Co-authored-by: Kyle D. <kdumontnu@gmail.com>
* docs
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Kyle D. <kdumontnu@gmail.com>
3 years ago
Patrick Schratz
d957a1569a
Bump `postgres` and `mysql` versions ( #15710 )
...
* bump postgres and mysql DB versions
* posgres test against v10
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
Björn Heinrichs
72e0ad8000
Fix docker enviroment variable from TYPE to DB_TYPE ( #15585 )
...
As documented in https://docs.gitea.io/en-us/config-cheat-sheet/ the database type is defined using db_type not type.
4 years ago
techknowlogick
26e16e4ee4
docs: rm deprecated docs regarding environment variable usage in docker image ( #15405 )
...
* docs: rm deprecated docs regarding environment variable usage in docker image
* Update docs/content/doc/installation/with-docker.en-us.md
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
4 years ago
Kyle D
61f347e349
Add environment-to-ini to docker image ( #14762 )
...
* Add environment-to-app.ini routine
* Call environment-to-ini in docker setup scripts
* Automatically convert section vars to lower case to match documentation
* Remove git patch instructions
* Add env variable documentation to Install Docker
4 years ago
Patrick Schratz
1c230f69d9
update ssh passthrough ( #14403 )
...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
Bo-Yi Wu
c57e1f2653
docs(docker): fix diff format. ( #14035 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
4 years ago
Patrick Schratz
af79677a44
Reformat docs ( #13897 )
...
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
4 years ago
6543
6bdcacd73b
Added Table of Contents to long documentation pages ( #13890 )
...
* Redo #13836 with new shortcode
(https://gitea.com/gitea/theme/pulls/90 )
* add Api Usage
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
Patrick Schratz
c3893a8bd1
Update docker ssh passthrough docs ( #13732 )
...
* update docker ssh passthrough docs
* remove mailto:git part in SSH forwarding call
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
silverwind
bc455ed257
Set RUN_MODE prod by default ( #13765 )
...
I think it's a bad default to have "dev" as the default run mode which
enables debugging and now also disables HTTP caching. It's better to
just default to a value suitable for general deployments.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
6543
e7b47c5215
Format files ( #13698 )
...
* align "make help"
* format
* untouch build/generate-svg.js
* untouch .eslintrc
* combine editorconfig's
* rm editorconfig
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
techknowlogick
64bd5f4c66
specific version in docker compose ( #13644 )
...
* specific version in docker compose
fix #13643
* update latest version
4 years ago
Amoo Hesam
b7deea0284
Inform user of how disable SSH feature when installing using Docker ( #13180 )
4 years ago
Patrick Schratz
05aa6fd477
Align `SSH_AUTHORIZED_KEYS_BACKUP` var with the value in `app.ini` ( #13212 )
...
* Align `SSH_AUTHORIZED_KEYS_BACKUP` var with the value in `app.ini`
* Also fix the cheat sheet and move it to below - SSH_CREATE_AUTHORIZED_KEYS_FILE
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Andrew Thornton <art27@cantab.net>
4 years ago
Melroy van den Berg
508aca1cc0
Improve Docker container name ( #13077 )
...
* Improve Docker container name
Use a better Docker container name than the default 'server'
* Changing to gitea and use recommended v3 Docker-compose
Use `gitea` as container name. And use version 3 of the docker-compose, which should now be used: https://docs.docker.com/compose/compose-file/compose-versioning/
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
Divyam Bhasin
48703c3c68
updated docs with caveat for authorized_keys ( #13030 )
...
* updated docs with caveat for authorized_keys
* wrapped authorized_keys in ticks
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
Adrian POIGET
99082eebd7
Fix; declare DOMAIN variable for docker setup ( #10780 )
...
In the /install form, the value for SSH Server Domain is taken form the DOMAIN variable
and overwrites SSH_DOMAIN environment variable set the first time if nothing done
Co-authored-by: Adrian POIGET <adrian.poiget@viveris.fr>
5 years ago
Florian Hübner
27ac1d0952
add /etc/timezone and /etc/localtime volumes ( #8911 )
...
Passing these volumes to the container enable gitea to use hosts localtime and timezone.
This is a mandatory change when using the "Setup fail2ban" Guide, but it is not described in the documentation.
5 years ago
leigh capili
70d2244e49
Support SSH_LISTEN_PORT env var in docker app.ini template ( #7829 )
...
Signed-off-by: leigh capili <leigh@null.net>
5 years ago
John Olheiser
4ea9a377db
Add config option and shortcode for Gitea version ( #7940 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
Marat Radchenko
e07ff2f890
[docker] Add LFS_START_SERVER option to control git-lfs support ( #7281 )
5 years ago
John Olheiser
9bf20f47c4
Enabled emoji in Hugo ( #6521 )
...
Removed extra asterisks in Docker doc
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
Aidan Fitzgerald
f5cf9a8355
Copyedit docs ( #6275 )
6 years ago
Dane
cbc14df16a
Add docs on passing SSH through to container ( #5019 )
...
* Add docs on passing SSH through to container
Wasn't clear how to pass SSH connections through the container, found a
few blog posts which described roughly the same procedure I've
documented here.
Credit should really go to:
* https://blog.sakuragawa.moe/gitea-in-docker-container-and-sharing-ssh-with-host/
* http://www.ateijelo.com/blog/2016/07/09/share-port-22-between-docker-gogs-ssh-and-local-system
Signed-off-by: Dane Elwell <dane.elwell@ukfast.co.uk>
* Add note to resolve @lafriks feedback
6 years ago
Ryan Halliday
d9b0b7f56e
Notes on upgrading docker installation ( #5395 )
...
* Notes on upgrading docker installation
Basis from [gogs/gogs](https://github.com/gogs/gogs/blob/master/docker/README.md )
* Feedback from @sapk to use docker-compose only
6 years ago
Paul Strickland
8a9e44d181
Update with-docker.en-us.md ( #5203 )
...
Improve grammar in second paragraph.
6 years ago
Dane
513db27377
Add missing envionment vars for DB with Docker ( #5007 )
...
Current docs demonstrate how to configure a database container but don't
explicitly specify that you should add additional environment variables
to the Gitea container to make it use the database. This just
demonstrates the changes required.
Signed-off-by: Dane Elwell <dane.elwell@ukfast.co.uk>
6 years ago
Wyall
dab02b80fd
ADD: Hint to function of docker version tags ( #4967 )
...
I wasn't sure about how tags work, maybe this is interesting for people with less knowledge of docker.
6 years ago
Richard Coleman
212fef0866
Add details about USER_UID and USER_GID environment variables ( #4301 )
6 years ago
Daniel Peukert
b9be49cd96
Minor 'Installation with Docker' docs page fix ( #4122 )
7 years ago
Fluf
b299d7bceb
Add Environment Variables to Docker template ( #4012 )
...
* Add disable registration as an environment variable
for docker
* Add REQUIRE_SIGNIN_VIEW as env var to docker
* Add variables to template
* Update docker docs
7 years ago
kolaente
9f7c4d92c9
Added explanation for docker environment variables to docs ( #3804 )
7 years ago
Richard Coleman
869d73a25c
Add info from #2286 , minor fixes to YAML indentation ( #3338 )
...
* Add info from #2286 , minor fixes to YAML indentation
* Add space to make YAML valid again
7 years ago
Michael Lustfield
3ee8be3849
General documentation cleanup ( #3317 )
...
* Clean up spelling, grammar, perspective, whitespace, language, markup, etc.
7 years ago
bibaijin
e2968b4c98
add quotation around ports in docker-compose.yml ( #3090 )
7 years ago
Lunny Xiao
d517b56682
add notice for docker run gitea http port issue ( #3020 )
7 years ago