2024-10-20 11:51:57 +02:00
|
|
|
setup:
|
|
|
|
addons:
|
|
|
|
- plan: heroku-postgresql
|
|
|
|
as: DATABASE
|
2024-10-20 16:19:41 +02:00
|
|
|
config:
|
|
|
|
POSTGRES_USER: gitea
|
|
|
|
POSTGRES_PASSWORD: gitea
|
|
|
|
POSTGRES_DB: gitea
|
2024-10-20 17:04:33 +02:00
|
|
|
|
|
|
|
build:
|
|
|
|
docker:
|
|
|
|
web: Dockerfile
|
|
|
|
config:
|
2024-10-20 16:19:41 +02:00
|
|
|
GITEA__database__DB_TYPE: postgres
|
|
|
|
GITEA__database__HOST: db:5432
|
|
|
|
GITEA__database__NAME: gitea
|
|
|
|
GITEA__database__USER: gitea
|
|
|
|
GITEA__database__PASSWD: gitea
|
2024-10-19 13:17:39 +02:00
|
|
|
|
2024-10-20 16:19:41 +02:00
|
|
|
run:
|
|
|
|
web: /usr/local/bin/gitea web -port $PORT
|