Lukasz Jarosz 5fbb185437 added ssl support and barebone readme | 6 vuotta sitten | |
---|---|---|
files | 6 vuotta sitten | |
.gitignore | 6 vuotta sitten | |
Dockerfile | 6 vuotta sitten | |
LICENSE | 6 vuotta sitten | |
README.md | 6 vuotta sitten |
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 .