Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve headless provisioning of SELKS on docker #421

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docker: add compose to VM
  • Loading branch information
markuskont committed Jun 28, 2023
commit 1d0acd01ce6a243590683d54aae52b0898f36bce
6 changes: 4 additions & 2 deletions docker/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 2,14 @@ $provision = <<-SCRIPT
export DEBIAN_FRONTEND=noninteractive

apt-get udpate
apt-get install -y curl
apt-get install -y curl python3 python3-pip python3-venv

ip link add tppdummy0 type dummy && ip link set tppdummy0 up && ip link set dev tppdummy0 mtu 9500

cd /selks
time ./easy-setup.sh --non-interactive -i tppdummy0 --iA --es-memory 2G --ls-memory 1G
python3 -m venv .venv
source .venv/bin/activate && pip install docker-compose
time ./easy-setup.sh --non-interactive -i tppdummy0 --iA --es-memory 4G --ls-memory 2G
time docker-compose up -d
SCRIPT

Expand Down