19 lines
404 B
YAML
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"
|
|
|