feature: Adds Captcha authentication to Forgejo
This commit is contained in:
parent
26faa49a8f
commit
bde18cd5b7
3 changed files with 8 additions and 4 deletions
|
@ -87,6 +87,13 @@
|
|||
"FORGEJO__database__HOST" = "db:5432";
|
||||
"FORGEJO__database__NAME" = "forgejo";
|
||||
"FORGEJO__database__USER" = "forgejo";
|
||||
"FORGEJO__service__REGISTER_EMAIL_CONFIRM" = "false";
|
||||
"FORGEJO__service__REQUIRE_CAPTCHA_FOR_LOGIN" = "true";
|
||||
"FORGEJO__service__MCAPTCHA_URL" = "https://mcaptcha.terah.dev";
|
||||
"FORGEJO__service__CAPTCHA_TYPE" = "CAPTCHA_TYPE";
|
||||
"FORGEJO__service__ENABLE_CAPTCHA" = "true";
|
||||
"FORGEJO__service__REGISTER_MANUAL_CONFIRM" = "true";
|
||||
"FORGEJO__service__REQUIRE_EXTERNAL_REGISTRATION_CAPTCHA" = "true";
|
||||
"USER_GID" = "1000";
|
||||
"USER_UID" = "1000";
|
||||
};
|
||||
|
|
|
@ -101,9 +101,6 @@
|
|||
"MCAPTCHA_source_code" = "https://github.com/mCaptcha/mCaptcha";
|
||||
"PORT" = "7000";
|
||||
};
|
||||
ports = [
|
||||
"7000:7000/tcp"
|
||||
];
|
||||
dependsOn = [
|
||||
"mcaptcha-cache"
|
||||
"mcaptcha-db"
|
||||
|
|
2
secrets
2
secrets
|
@ -1 +1 @@
|
|||
Subproject commit 641331a16088e444d4d22ac421916b5bde369f89
|
||||
Subproject commit fb03516cae9a47fa26a88af5eb5a158d2f37d1df
|
Loading…
Add table
Add a link
Reference in a new issue