Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Lukasz Jarosz 0b2b260410 poprawka uploadow 4 роки тому
files poprawka uploadow 4 роки тому
.gitignore joined remotely created repo with local repo 5 роки тому
Dockerfile fixed mariadb upgrade 5 роки тому
LICENSE Initial commit 5 роки тому
README.md jakies drobne zmiany 5 роки тому

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 .

Gitea

There are a few tweaks to app.ini template. Most of them are around disabling unecessary logs and features that may lead to potentional exploit of installation.