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"