From 8a76c3e47d2710000e589f5dbef9a350288bdd39 Mon Sep 17 00:00:00 2001 From: awieczarek Date: Sun, 20 Oct 2024 17:04:33 +0200 Subject: [PATCH] Manual app.ini --- conf/app.ini | 7 +++++++ heroku.yml | 9 +++++---- 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 conf/app.ini diff --git a/conf/app.ini b/conf/app.ini new file mode 100644 index 0000000..0b888e3 --- /dev/null +++ b/conf/app.ini @@ -0,0 +1,7 @@ +[database] +DB_TYPE = postgres +HOST = db:5432 +NAME = gitea +USER = gitea +PASSWD = gitea +SSL_MODE = require diff --git a/heroku.yml b/heroku.yml index 23c461b..4f05cbe 100644 --- a/heroku.yml +++ b/heroku.yml @@ -6,15 +6,16 @@ setup: POSTGRES_USER: gitea POSTGRES_PASSWORD: gitea POSTGRES_DB: gitea + +build: + docker: + web: Dockerfile + config: GITEA__database__DB_TYPE: postgres GITEA__database__HOST: db:5432 GITEA__database__NAME: gitea GITEA__database__USER: gitea GITEA__database__PASSWD: gitea -build: - docker: - web: Dockerfile - run: web: /usr/local/bin/gitea web -port $PORT