14 lines
389 B
Docker
14 lines
389 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}
|
|
|
|
ADD config /etc/gitea
|
|
ADD data /var/lib/gitea
|
|
ADD localtime /etc/localtime
|
|
ADD timezone /etc/timezone
|
|
ADD conf/ /var/lib/gitea/custom/conf/
|