From 2f9bd19e6816372ef90f61a62df2a6540f5205d3 Mon Sep 17 00:00:00 2001 From: Veronica Valeros Date: Fri, 25 Oct 2024 22:56:56 +0200 Subject: [PATCH 1/3] Add namespace for main services --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 35c4da0..868676c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ services: hackerlab: build: ./hackerlab - container_name: hackerlab + container_name: scl-hackerlab hostname: hackerlab restart: always ports: @@ -12,7 +12,7 @@ services: dashboard: build: ./dashboard - container_name: dashboard + container_name: scl-dashboard hostname: dashboard restart: always ports: @@ -34,7 +34,7 @@ services: ollama: image: ollama/ollama - container_name: ollama + container_name: scl-ollama volumes: - ./ollama:/root/.ollama restart: always From 32e59e7cca0e289d5edce07fab802ac599d500e1 Mon Sep 17 00:00:00 2001 From: Veronica Valeros Date: Fri, 25 Oct 2024 22:57:43 +0200 Subject: [PATCH 2/3] Add namespace for class' containers --- classes/class02/docker-compose.yml | 2 +- classes/class03/docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/class02/docker-compose.yml b/classes/class02/docker-compose.yml index baafbc6..364afb9 100644 --- a/classes/class02/docker-compose.yml +++ b/classes/class02/docker-compose.yml @@ -4,7 +4,7 @@ services: class-02-services: build: . stop_grace_period: 0s - container_name: class-02-services + container_name: scl-class-02-services networks: playground-net: ipv4_address: 172.20.0.88 diff --git a/classes/class03/docker-compose.yml b/classes/class03/docker-compose.yml index 675bf14..835643b 100644 --- a/classes/class03/docker-compose.yml +++ b/classes/class03/docker-compose.yml @@ -4,7 +4,7 @@ services: class-03-ssh: build: ssh/ stop_grace_period: 0s - container_name: class-03-ssh + container_name: scl-class-03-ssh networks: playground-net: ipv4_address: 172.20.0.90 @@ -12,7 +12,7 @@ services: class-03-apache: build: apache/ stop_grace_period: 0s - container_name: class-03-apache + container_name: scl-class-03-apache networks: playground-net: ipv4_address: 172.20.0.95 From f163fbc7dc5ef86548d66a5acef7dfeb761745f8 Mon Sep 17 00:00:00 2001 From: Veronica Valeros Date: Fri, 25 Oct 2024 22:59:04 +0200 Subject: [PATCH 3/3] Add namespace to challenges --- challenges/famous-quotes-lfi/docker-compose.yml | 2 +- challenges/hello-world/docker-compose.yml | 2 +- challenges/intrusion/docker-compose.yml | 2 +- challenges/shockwave-report/docker-compose.yml | 2 +- challenges/template/docker-compose.yml | 2 +- challenges/what-is-that-noise/docker-compose.yml | 2 +- challenges/what-is-the-date/docker-compose.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/challenges/famous-quotes-lfi/docker-compose.yml b/challenges/famous-quotes-lfi/docker-compose.yml index 0dd92e3..a672601 100644 --- a/challenges/famous-quotes-lfi/docker-compose.yml +++ b/challenges/famous-quotes-lfi/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.3' services: challenge-famous-quotes-lfi: - container_name: challenge-famous-quotes-lfi + container_name: scl-famous-quotes-lfi stop_grace_period: 0s build: ./ networks: diff --git a/challenges/hello-world/docker-compose.yml b/challenges/hello-world/docker-compose.yml index d87b92c..5999bfe 100644 --- a/challenges/hello-world/docker-compose.yml +++ b/challenges/hello-world/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.3' services: challenge-hello-world: - container_name: challenge-hello-world + container_name: scl-hello-world stop_grace_period: 0s build: ./ networks: diff --git a/challenges/intrusion/docker-compose.yml b/challenges/intrusion/docker-compose.yml index b088265..422ced4 100644 --- a/challenges/intrusion/docker-compose.yml +++ b/challenges/intrusion/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.3' services: intrusion: - container_name: intrusion + container_name: scl-intrusion stop_grace_period: 0s build: . networks: diff --git a/challenges/shockwave-report/docker-compose.yml b/challenges/shockwave-report/docker-compose.yml index d5ac03c..568f721 100644 --- a/challenges/shockwave-report/docker-compose.yml +++ b/challenges/shockwave-report/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.3' services: shockwave-report: - container_name: shockwave-report + container_name: scl-shockwave-report stop_grace_period: 0s build: . platform: linux/amd64 diff --git a/challenges/template/docker-compose.yml b/challenges/template/docker-compose.yml index 92827f6..128d9e1 100644 --- a/challenges/template/docker-compose.yml +++ b/challenges/template/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.3' services: challenge-template: - container_name: challenge-template + container_name: scl-challenge-template stop_grace_period: 0s build: . networks: diff --git a/challenges/what-is-that-noise/docker-compose.yml b/challenges/what-is-that-noise/docker-compose.yml index d94a2a9..b0ba5d6 100644 --- a/challenges/what-is-that-noise/docker-compose.yml +++ b/challenges/what-is-that-noise/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.3' services: what-is-that-noise: - container_name: what-is-that-noise + container_name: scl-what-is-that-noise stop_grace_period: 0s build: . networks: diff --git a/challenges/what-is-the-date/docker-compose.yml b/challenges/what-is-the-date/docker-compose.yml index 91701a3..f425e63 100644 --- a/challenges/what-is-the-date/docker-compose.yml +++ b/challenges/what-is-the-date/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.3' services: challenge-what-is-the-date: - container_name: challenge-what-is-the-date + container_name: scl-what-is-the-date build: . stop_grace_period: 0s networks: