aboutsummaryrefslogtreecommitdiff
path: root/templates/docker-compose.yaml.template
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-19 01:46:25 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-19 01:46:25 +0800
commitac21570aa3468a316b747cfbd8241ccdfe6039b3 (patch)
tree84ee278c990f2493e475677452ab5c329e4ee6dc /templates/docker-compose.yaml.template
parent84b7a6454f3aefba3e1e96b22ac3f4710b6ce238 (diff)
downloadcrupest-ac21570aa3468a316b747cfbd8241ccdfe6039b3.tar.gz
crupest-ac21570aa3468a316b747cfbd8241ccdfe6039b3.tar.bz2
crupest-ac21570aa3468a316b747cfbd8241ccdfe6039b3.zip
feat(2fa): move to root domain subpath.
Diffstat (limited to 'templates/docker-compose.yaml.template')
-rw-r--r--templates/docker-compose.yaml.template3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/docker-compose.yaml.template b/templates/docker-compose.yaml.template
index 532585b..fdf0d11 100644
--- a/templates/docker-compose.yaml.template
+++ b/templates/docker-compose.yaml.template
@@ -169,7 +169,8 @@ services:
- APP_TIMEZONE=UTC
- SITE_OWNER=crupest@crupest.life
- APP_KEY=${CRUPEST_2FAUTH_APP_KEY}
- - APP_URL=https://2fa.${CRUPEST_DOMAIN}
+ - APP_URL=https://${CRUPEST_DOMAIN}/2fa
+ - APP_SUBDIRECTORY=2fa
- MAIL_MAILER=smtp
- MAIL_HOST=mail.crupest.life
- MAIL_PORT=465