2024-10-19 12:39:20 +02:00
|
|
|
setup:
|
|
|
|
addons:
|
2024-10-19 13:06:31 +02:00
|
|
|
- plan: heroku-postgresql
|
2024-10-19 12:39:20 +02:00
|
|
|
as: DATABASE
|
|
|
|
|
|
|
|
build:
|
|
|
|
docker:
|
|
|
|
web: gitea/gitea:1.14.5-rootless
|
|
|
|
|
|
|
|
run:
|
2024-10-19 13:06:31 +02:00
|
|
|
web: /bin/su-exec git /app/gitea/gitea web
|
|
|
|
|
|
|
|
env:
|
|
|
|
GITEA__database__DB_TYPE: postgres
|
|
|
|
GITEA__database__HOST: ${DATABASE_HOST}
|
|
|
|
GITEA__database__NAME: ${DATABASE_DB}
|
|
|
|
GITEA__database__USER: ${DATABASE_USER}
|
|
|
|
GITEA__database__PASSWD: ${DATABASE_PASSWORD}
|
|
|
|
GITEA__server__ROOT_URL: https://your-app-name.herokuapp.com/
|
|
|
|
GITEA__server__HTTP_PORT: 3000
|
|
|
|
GITEA__server__SSH_PORT: 2222
|
|
|
|
|
2024-10-19 12:39:20 +02:00
|
|
|
|