heroku-gitea/Dockerfile
awieczarek 356b473973 FIX
2024-10-19 19:03:23 +02:00

15 lines
398 B
Docker

FROM gitea/gitea:1.14.5-rootless
ENV GITEA__database__DB_TYPE=postgres
ENV GITEA__database__HOST=${DATABASE_HOST}
ENV GITEA__database__NAME=${DATABASE_DB}
ENV GITEA__database__USER=${DATABASE_USER}
ENV GITEA__database__PASSWD=${DATABASE_PASSWORD}
ENV GITEA_CUSTOM=/var/lib/gitea/custom
ARG DATABASE_URL='db:5432'
ENV DATABASE_URL=${DATABASE_URL}
COPY app.ini /var/lib/gitea/custom/conf/app.ini