heroku-gitea/Dockerfile

13 lines
377 B
Docker
Raw Normal View History

2024-10-19 13:11:55 +02:00
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}
2024-10-19 13:30:27 +02:00
2024-10-19 13:34:06 +02:00
ENV GITEA_CUSTOM=/app/tmp/gitea/custom
2024-10-19 13:29:06 +02:00
2024-10-19 13:34:06 +02:00
RUN mkdir -p /app/tmp/gitea/custom/conf && \
chown -R git:git /app/tmp/gitea/custom