heroku-gitea/heroku.yml
2024-10-19 12:41:04 +02:00

19 lines
404 B
YAML

setup:
addons:
- plan: heroku-postgresql:hobby-dev
as: DATABASE
build:
docker:
web: gitea/gitea:1.14.5-rootless
run:
web:
command: /bin/s6-svscan /etc/s6
environment:
GITEA__database__DB_TYPE: postgres
GITEA__database__CONN_STR: ${DATABASE_URL}
GITEA__web__ROOT_URL: https://${HEROKU_APP_NAME}.herokuapp.com/
GITEA__server__START_SSH_SERVER: "true"