Fork 0

Switch to forgejo

Daniele Tricoli 2022-12-31 01:39:35 +01:00
parent 34ee1a3c87
commit 8b1c8fd741
2 changed files with 12 additions and 12 deletions

View File

@ -12,7 +12,7 @@ ADD https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${P
RUN sha256sum pandoc.tar.gz | grep -q ${PANDOC_TARBALL_SHA256SUM} && \
tar xvzf pandoc.tar.gz --strip-components 1
FROM gitea/gitea:1.17.3
FROM codeberg.org/forgejo/forgejo:1.18.0-1
COPY --from=builder /opt/bin/pandoc /usr/local/bin/pandoc

View File

@ -1,25 +1,25 @@
# pod-gitea
# pod-forgejo
A gitea image with [pandoc](https://pandoc.org/) support.
A forgejo image with [pandoc](https://pandoc.org/) support.
## Deploy
### Dokku
dokku apps:create gitea
dokku apps:create forgejo
dokku config:set --no-restart gitea TZ=Europe/Rome
dokku config:set --no-restart gitea DOKKU_LETSENCRYPT_EMAIL=example@example.org
dokku config:set --no-restart forgejo TZ=Europe/Rome
dokku config:set --no-restart forgejo DOKKU_LETSENCRYPT_EMAIL=example@example.org
dokku postgres:create gitea
dokku postgres:link gitea gitea
dokku postgres:create forgejo
dokku postgres:link forgejo forgejo
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
dokku storage:mount forgejo /var/lib/dokku/data/storage/forgejo:/data/gitea
dokku storage:mount forgejo /var/lib/dokku/data/storage/forgejo/git:/data/git/repositories
git push dokku main:main
dokku letsencrypt gitea
dokku letsencrypt:cron-job --add gitea
dokku letsencrypt forgejo
dokku letsencrypt:cron-job --add forgejo