13 lines
367 B
Docker
13 lines
367 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 data /var/lib/gitea
|
|
ADD localtime /etc/localtime
|
|
ADD timezone /etc/timezone
|
|
ADD conf/ /var/lib/gitea/custom/conf/
|