From 67010139253ce26de238a795b70a36e500070638 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Sat, 4 Nov 2023 19:35:48 +0100 Subject: [PATCH] new: added docker-compose.yml (closes #9) --- docker-compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..015690f --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.6' +services: + legba: + image: evilsocket/legba:latest + # make sure that the endpoints visible on the host network + # are visible from the container as well + network_mode: host + # used to persist data + volumes: + # maps the current working directory to /data + - .:/data + + deploy: + resources: + limits: + # makes sure that all cpu are used + cpus: '0.000'