This commit is contained in:
asmigiel 2025-01-04 21:14:36 +01:00
parent 2e0733df3b
commit c1d69ad0eb
3 changed files with 5 additions and 18 deletions

View File

@ -1,4 +1,4 @@
FROM gitea/gitea:1.14.5
FROM gitea/gitea:1.14.5-rootless
WORKDIR /app

View File

@ -1,13 +0,0 @@
[database]
NAME = gitea
DB_TYPE = postgres
USER = gitea
HOST = db:5432
PASSWD = gitea
[oauth2]
JWT_SECRET = clihxt5fuU2yaZwdPnTDxwarGNbnuLItEe7kd4fI0y0
[security]
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE3MzUwNzQ5Mzl9.ZVn8jqgOjeR3WM_E6k8Oa9ZPvYUTK6nHeJNrg641fvM

View File

@ -2,10 +2,10 @@ setup:
addons:
- plan: heroku-postgresql
as: DATABASE
config:
POSTGRES_USER: "gitea"
POSTGRES_PASSWORD: "gitea"
POSTGRES_DB: "gitea"
# config:
# POSTGRES_USER: "gitea"
# POSTGRES_PASSWORD: "gitea"
# POSTGRES_DB: "gitea"
build:
docker: