Skip to content

Commit

Permalink
Set max map count
Browse files Browse the repository at this point in the history
  • Loading branch information
jonohill committed Nov 20, 2021
1 parent d419a08 commit 48bc185
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions box/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,11 @@ set_user_password '${user_password}'
set_ssh_host_key '${ssh_host_key}' '${ssh_host_key_pub}' '${ssh_host_key_cert}'
# shellcheck disable=SC2016
set_ssh_key '${ssh_key}'

echo "vm.max_map_count=262144" >/etc/sysctl.conf
ensure_data_vol
ensure_docker
ensure_sops

# shellcheck disable=SC2016
compose_up '${compose_repo}' '${compose_sops_key}'

0 comments on commit 48bc185

Please sign in to comment.