Manual app.ini

This commit is contained in:
awieczarek 2024-10-20 17:04:33 +02:00
parent 99616911d9
commit 8a76c3e47d
2 changed files with 12 additions and 4 deletions

7
conf/app.ini Normal file
View File

@ -0,0 +1,7 @@
[database]
DB_TYPE = postgres
HOST = db:5432
NAME = gitea
USER = gitea
PASSWD = gitea
SSL_MODE = require

View File

@ -6,15 +6,16 @@ setup:
POSTGRES_USER: gitea POSTGRES_USER: gitea
POSTGRES_PASSWORD: gitea POSTGRES_PASSWORD: gitea
POSTGRES_DB: gitea POSTGRES_DB: gitea
build:
docker:
web: Dockerfile
config:
GITEA__database__DB_TYPE: postgres GITEA__database__DB_TYPE: postgres
GITEA__database__HOST: db:5432 GITEA__database__HOST: db:5432
GITEA__database__NAME: gitea GITEA__database__NAME: gitea
GITEA__database__USER: gitea GITEA__database__USER: gitea
GITEA__database__PASSWD: gitea GITEA__database__PASSWD: gitea
build:
docker:
web: Dockerfile
run: run:
web: /usr/local/bin/gitea web -port $PORT web: /usr/local/bin/gitea web -port $PORT