12 lines
317 B
Docker
12 lines
317 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}
|
||
|
|
||
|
ENTRYPOINT ["/bin/su-exec", "git", "/app/gitea/gitea"]
|
||
|
CMD ["web"]
|
||
|
|