diff --git a/example/gitea/Fockerfile b/example/gitea/Fockerfile index efca9a6..0a8b083 100644 --- a/example/gitea/Fockerfile +++ b/example/gitea/Fockerfile @@ -41,5 +41,8 @@ steps: - mkdir -p /var/db/gitea - sysrc sshd_enable=NO - sysrc gitea_enable=YES + - sysrc sendmail_enable=NONE - sysrc syslogd_flags="-ss" - sed -i -e 's/DISABLE_REGISTRATION[ \t]*=[ \t]*false/DISABLE_REGISTRATION = true/g' /usr/local/etc/gitea/conf/app.ini + - chown root:git /usr/local/etc/gitea/conf/app.ini + - chmod 640 /usr/local/etc/gitea/conf/app.ini