1
0
Fork 0

Initial import

This commit is contained in:
Daniele Tricoli 2021-01-14 02:55:28 +01:00
commit b7e18a8095
2 changed files with 26 additions and 0 deletions

3
Dockerfile Normal file
View file

@ -0,0 +1,3 @@
FROM gitea/gitea:1.13.1
EXPOSE 3000

23
README.md Normal file
View file

@ -0,0 +1,23 @@
# pod-gitea
## Deploy
### Dokku
```
dokku apps:create gitea
dokku config:set noa --no-restart TZ=Europe/Rome
dokku config:set --no-restart gitea DOKKU_LETSENCRYPT_EMAIL=example@example.org
dokku postgres:create gitea
dokku postgres:link gitea gitea
dokku storage:mount gitea /var/lib/dokku/data/storage/gitea:/data/gitea
dokku storage:mount gitea /var/lib/dokku/data/storage/gitea/git:/data/git/repositories
git push dokku main:main
dokku letsencrypt gitea
dokku letsencrypt:cron-job --add gitea
```