Initial import
This commit is contained in:
commit
b7e18a8095
3
Dockerfile
Normal file
3
Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM gitea/gitea:1.13.1
|
||||
|
||||
EXPOSE 3000
|
23
README.md
Normal file
23
README.md
Normal 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
|
||||
```
|
Loading…
Reference in a new issue