gitea-heroku/heroku.yaml
korzepadawid bd4d7e08ce tmp
2024-12-15 13:10:44 +01:00

22 lines
398 B
YAML

build:
docker:
web: Dockerfile
run:
web: |
/bin/su-exec gitea /usr/local/bin/gitea web
setup:
addons:
- plan: heroku-postgresql
as: DATABASE
env:
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}
PORT: 3000