This commit is contained in:
awieczarek 2024-10-19 13:50:12 +02:00
parent c0b73253eb
commit 7ba86538da
2 changed files with 20 additions and 4 deletions

View File

@ -6,7 +6,6 @@ ENV GITEA__database__NAME=${DATABASE_DB}
ENV GITEA__database__USER=${DATABASE_USER}
ENV GITEA__database__PASSWD=${DATABASE_PASSWORD}
ADD data /var/lib/gitea
ADD localtime /etc/localtime
ADD timezone /etc/timezone
ADD conf/ /var/lib/gitea/custom/conf/
ENV GITEA_CUSTOM=/var/lib/gitea/custom
COPY app.ini /var/lib/gitea/custom/app.ini

17
app.ini Normal file
View File

@ -0,0 +1,17 @@
[database]
DB_TYPE = postgres
HOST = db:5432
NAME = gitea
USER = gitea
PASSWD = gitea
SSL_MODE = disable
[server]
DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL = http://localhost:3000/
SSH_PORT = 2222
[repository]
ROOT = /data/git/repositories