diff --git a/docs/security/user.md b/docs/security/user.md index 26706ab72d..8c03e11000 100644 --- a/docs/security/user.md +++ b/docs/security/user.md @@ -7,7 +7,7 @@ If you discover a security vulnerability in Infinito.Nexus, you MUST report it t For optimal personal security, we RECOMMEND the following: - **Use a Password Manager** - You SHOULD use a reliable password manager such as [KeePassXCXC](https://keepassxc.org/) 🔐. (Learn more about [password managers](https://en.wikipedia.org/wiki/Password_manager) on Wikipedia.) KeePassXC is available for both smartphones and PCs, and it can automatically generate strong, random passwords. + You SHOULD use a reliable password manager such as [KeePassXC](https://keepassxc.org/) 🔐. (Learn more about [password managers](https://en.wikipedia.org/wiki/Password_manager) on Wikipedia.) KeePassXC is available for both smartphones and PCs, and it can automatically generate strong, random passwords. - **Enable Two-Factor Authentication (2FA)** You MUST enable 2FA whenever possible. Many password managers (like KeePassXC) can generate [TOTP](https://en.wikipedia.org/wiki/Time-based_One-Time_Password) tokens, adding an extra layer of security even if your password is compromised. diff --git a/roles/svc-runner/templates/test.env.j2 b/roles/svc-runner/templates/test.env.j2 index 739b595f70..e63d386e74 100644 --- a/roles/svc-runner/templates/test.env.j2 +++ b/roles/svc-runner/templates/test.env.j2 @@ -1,4 +1,4 @@ -RUNNER_COUNT={{ runner_count }} -RUNNER_INSTALL_DIR={{ runner_install_dir }} -RUNNER_DOCKER_BASE={{ runner_docker_base }} -RUNNER_PROJECT_PREFIX={{ runner_project_prefix }} +RUNNER_COUNT={{ 0 if (DOCKER_IN_CONTAINER | default(false) | bool) else (runner_count | default(1)) }} +RUNNER_INSTALL_DIR={{ runner_install_dir | default('/opt/github-runner') }} +RUNNER_DOCKER_BASE={{ runner_docker_base | default('/mnt/docker') }} +RUNNER_PROJECT_PREFIX={{ runner_project_prefix | default('runner') }}