From fe8678cc14ec2cd56684d3424b9e5ca677c19f5b Mon Sep 17 00:00:00 2001 From: ckesc Date: Sun, 11 Feb 2024 16:58:32 +0000 Subject: [PATCH 1/4] Update FAQ: clarify about hashed pass and compose file --- docs/FAQ.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/FAQ.md b/docs/FAQ.md index 9dcf402b2087..6042e34877b1 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -356,6 +356,13 @@ hashed-password: "$argon2i$v=19$m=4096,t=3,p=1$wST5QhBgk2lu1ih4DMuxvg$LS1alrVdIW The `hashed-password` field takes precedence over `password`. +If you're using Docker Compose file, in order to make this work, you need to change all the single $ to $$. For example: +```yaml + ... + - HASHED_PASSWORD=$$argon2i$$v=19$$m=4096,t=3,p=1$$wST5QhBgk2lu1ih4DMuxvg$$LS1alrVdIWtvZHwnzCM1DUGg+5DTO3Dt1d5v9XtLws4 + ... +``` + ## Is multi-tenancy possible? If you want to run multiple code-servers on shared infrastructure, we recommend From bdcc73d6088cb0eaeba5db6838bfbb9c2711d5ba Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 12 Feb 2024 12:20:36 -0900 Subject: [PATCH 2/4] fmt --- docs/FAQ.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/FAQ.md b/docs/FAQ.md index 6042e34877b1..0b2aa00fe0e7 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -357,6 +357,7 @@ hashed-password: "$argon2i$v=19$m=4096,t=3,p=1$wST5QhBgk2lu1ih4DMuxvg$LS1alrVdIW The `hashed-password` field takes precedence over `password`. If you're using Docker Compose file, in order to make this work, you need to change all the single $ to $$. For example: + ```yaml ... - HASHED_PASSWORD=$$argon2i$$v=19$$m=4096,t=3,p=1$$wST5QhBgk2lu1ih4DMuxvg$$LS1alrVdIWtvZHwnzCM1DUGg+5DTO3Dt1d5v9XtLws4 From bbece49a5c67d408917129dae350d214229532a8 Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 12 Feb 2024 13:02:35 -0900 Subject: [PATCH 3/4] fmt for real --- docs/FAQ.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 0b2aa00fe0e7..28274d6acf97 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -359,9 +359,9 @@ The `hashed-password` field takes precedence over `password`. If you're using Docker Compose file, in order to make this work, you need to change all the single $ to $$. For example: ```yaml - ... - - HASHED_PASSWORD=$$argon2i$$v=19$$m=4096,t=3,p=1$$wST5QhBgk2lu1ih4DMuxvg$$LS1alrVdIWtvZHwnzCM1DUGg+5DTO3Dt1d5v9XtLws4 - ... +... +- HASHED_PASSWORD=$$argon2i$$v=19$$m=4096,t=3,p=1$$wST5QhBgk2lu1ih4DMuxvg$$LS1alrVdIWtvZHwnzCM1DUGg+5DTO3Dt1d5v9XtLws4 +... ``` ## Is multi-tenancy possible? From 87dfc0f201881cc5653ce2e83c4ffa5107f6c632 Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 12 Feb 2024 13:09:42 -0900 Subject: [PATCH 4/4] The formatter is being weird I guess it dislikes the dots? --- docs/FAQ.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 28274d6acf97..f300d410eea4 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -359,9 +359,7 @@ The `hashed-password` field takes precedence over `password`. If you're using Docker Compose file, in order to make this work, you need to change all the single $ to $$. For example: ```yaml -... - HASHED_PASSWORD=$$argon2i$$v=19$$m=4096,t=3,p=1$$wST5QhBgk2lu1ih4DMuxvg$$LS1alrVdIWtvZHwnzCM1DUGg+5DTO3Dt1d5v9XtLws4 -... ``` ## Is multi-tenancy possible?