Lukasz Jarosz 39b599f843 przejscie na nowsze wersje gitea oraz naprawienie procesu upgradeu mariadb | 5 lat temu | |
---|---|---|
files | 5 lat temu | |
.gitignore | 6 lat temu | |
Dockerfile | 5 lat temu | |
LICENSE | 6 lat temu | |
README.md | 6 lat temu |
Just start it with docker. Image is based on gitea/gitea:latest, but you can assign following additional environment variables:
MariaDB is automatically bootstrapped into /data/mariadb. To add additional my.cnf use --defaults-extra-file or --defaults-file to replace it compeletely.
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 .
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.