summaryrefslogtreecommitdiffstats
path: root/docker/etc
Commit message (Collapse)AuthorAgeFilesLines
* [docker] drop the docker Makefile from the image (#6507)Jakob Ackermann2019-05-0511-194/+0
|
* [docker] let the ssh daemon speak for itself and drop the syslog daemon (#6529)Jakob Ackermann2019-04-164-10/+1
| | | | | | The sshd flag `-e` instructs sshd to output any logs to stderr instead of the syslog. Redirect this output to stdout then. Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* [docker] drop the bits argument when generating an ed25519 key (#6504)Jakob Ackermann2019-04-041-1/+1
| | | | | | | | | From the man page of ssh-keygen:   Ed25519 keys have a fixed length and the -b flag will be ignored. [skip ci] Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* add git protocol v2 support via SSH on Docker image (#5520)Lunny Xiao2018-12-111-0/+2
| | | | | | * add git protocol v2 support via SSH on Docker image * remove new layer on dockerfile
* only chown directories during docker setup if necessary. Fix #4425 (#5064)Fabian Braun2018-10-301-1/+4
| | | Signed-off-by: Fabian Braun <fabian-braun@mailbox.org>
* Remove UsePrivilegeSeparation from the Docker sshd_config, see #2876 (#4722)Andrew Phillips2018-08-161-1/+0
| | | Signed-off-by: Andrew Phillips <theasp@gmail.com>
* Add missing path in the Docker app.ini template (#2181)Tao Wang2018-07-031-0/+7
|
* Remove call to update certs (#4296)techknowlogick2018-06-211-2/+0
|
* Add Environment Variables to Docker template (#4012)Fluf2018-05-232-0/+6
| | | | | | | | | | | | * 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
* Allow Gitea to run as different USER in Docker (#3961)techknowlogick2018-05-162-2/+2
| | | | | | | | | | | | * If using a different $USER then rename git user * Chown based on $USER env * Target only one part of passwd * su-exec based on $USER not a hardcoded value
* Update certificates to enable self-signed certs (#3708)Jone Marius Vignes2018-03-251-0/+2
| | | | | | | | | | | | | Why: * We are using self-signed ssl certificates for internal services, which results in failures when gitea tries to communicate through webhooks with these. We would like to enable gitea to be able to use these certificates without having to build custom docker images. How * We add the internal certificates to /usr/local/share/ca-certificates on the host * We read-only mount /usr/local/share/ca-certificates from the host to /usr/local/share/ca-certificates in the container * We do a update-ca-certificates in the alpine container before starting gitea This should have no consequence for users that do not have the need to handle self-signed certificates, as update-ca-certificates should be idempotent.
* Fix ordering in app.ini and fix run mode option (#2829)Morlinest2017-11-022-3/+4
|
* Add environment variable support for Docker image (#2201)Tao Wang2017-10-312-2/+39
| | | | | | | | | | * Add `gettext` dependencies as we need `envsubst` command; * Modified s6's gitea setup script, instead of `cp` the template if no `app.ini` exist, it will substitude the envvars and generate the new `app.ini`; * Make `/docker/etc/templates/app.ini` a template contains environment variables; Signed-off-by: Tao Wang <twang2218@gmail.com>
* Use sqlite3 database as default for Docker image (#2182)Tao Wang2017-07-261-1/+1
| | | Signed-off-by: Tao Wang <twang2218@gmail.com>
* Fixing multiple docker issues (#386)Thomas Boerger2016-12-152-2/+1
| | | | | | | | | | | | * Added stupid docker task to makefile * Dropped unknown option PrintLastLog from docker ssh config * OpenSSH should log to docker stdout * Set random pw for docker git user, otherwise it is locked * Stop using templates and public within docker
* Use su-exec instead of gosu, much smallerThomas Boerger2016-11-283-3/+3
|
* Restructured docker buildingThomas Boerger2016-11-2814-0/+149
I have restructured the docker build process entirely, the binary gets built outside of the docker build command, now we are managing all dependencies with real Alpine packages and I have dropped features like socat or the cron daemon. Signed-off-by: Thomas Boerger <tboerger@suse.de>