heroku yml

This commit is contained in:
awieczarek 2024-10-19 12:39:20 +02:00
commit ffbde3bed2

25
heroku.yml Normal file
View File

@ -0,0 +1,25 @@
setup:
addons:
- plan: heroku-postgresql:hobby-dev
as: DATABASE
build:
docker:
web: gitea/gitea:1.14.5-rootless
run:
web: gitea/gitea:1.14.5-rootless
config:
PORT: 3000
SSH_PORT: 2222
command:
- /bin/s6-svscan /etc/s6
environment:
GITEA__database__DB_TYPE: postgres
GITEA__database__HOST: ${DATABASE_HOST}
GITEA__database__NAME: ${DATABASE_NAME}
GITEA__database__USER: ${DATABASE_USER}
GITEA__database__PASSWD: ${DATABASE_PASSWORD}
GITEA__web__ROOT_URL: https://${HEROKU_APP_NAME}.herokuapp.com/
GITEA__server__START_SSH_SERVER: "true"