Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Lukasz Jarosz 5fbb185437 added ssl support and barebone readme 6 år sedan
files added ssl support and barebone readme 6 år sedan
.gitignore joined remotely created repo with local repo 6 år sedan
Dockerfile added ssl support and barebone readme 6 år sedan
LICENSE Initial commit 6 år sedan
README.md added ssl support and barebone readme 6 år sedan

README.md

fat-gitea

How to use

Just start it with docker. Image is based on gitea/gitea:latest, but you can assign following additional environment variables:

  • DOMAIN - domain used by container
  • ENABLE_SSL - feature switch, value not relevant
  • MYSQL_DATADIR - path to MariaDB data dir
  • MYSQL_OPTS - MariaDB mysqld options

MariaDB

MariaDB is automatically bootstrapped into /data/mariadb. To add additional my.cnf use --defaults-extra-file or --defaults-file to replace it compeletely.

SSL

Image supports using SSL with nginx which acts as reverse proxy for Gitea. It has embedded Lets Encrypt support with auto renewal. If you don’t have account.key script will generate it for you. Required files for cert are /data/ssl/cert.crt /data/ssl/cert.key .