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