22 lines
452 B
YAML
22 lines
452 B
YAML
setup:
|
|
addons:
|
|
- plan: heroku-postgresql
|
|
as: DATABASE
|
|
config:
|
|
POSTGRES_USER: gitea
|
|
POSTGRES_PASSWORD: gitea
|
|
POSTGRES_DB: gitea
|
|
build:
|
|
docker:
|
|
web: Dockerfile.heroku
|
|
config:
|
|
GITEA__database__DB_TYPE: postgres
|
|
GITEA__database__HOST: db:6212
|
|
GITEA__database__NAME: gitea
|
|
GITEA__database__USER: gitea
|
|
GITEA__database__PASSWD: gitea
|
|
PORT: 3002
|
|
HTTP_PORT: 3002
|
|
run:
|
|
web: ./gitea web -port 3006
|