heroku yml
This commit is contained in:
parent
28c06fd58d
commit
f69cddd47d
21
heroku.yml
21
heroku.yml
@ -1,6 +1,6 @@
|
||||
setup:
|
||||
addons:
|
||||
- plan: heroku-postgresql:hobby-dev
|
||||
- plan: heroku-postgresql
|
||||
as: DATABASE
|
||||
|
||||
build:
|
||||
@ -8,11 +8,16 @@ build:
|
||||
web: gitea/gitea:1.14.5-rootless
|
||||
|
||||
run:
|
||||
web:
|
||||
command: /bin/s6-svscan /etc/s6
|
||||
environment:
|
||||
GITEA__database__DB_TYPE: postgres
|
||||
GITEA__database__CONN_STR: ${DATABASE_URL}
|
||||
GITEA__web__ROOT_URL: https://${HEROKU_APP_NAME}.herokuapp.com/
|
||||
GITEA__server__START_SSH_SERVER: "true"
|
||||
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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user