Skip to content

Commit

Permalink
Merge pull request #27 from stratosphereips/10-feat-namespace-docker-…
Browse files Browse the repository at this point in the history
…container-names

Add namespace to docker container names
  • Loading branch information
HappyStoic authored Oct 27, 2024
2 parents 4f8aa55 + f163fbc commit d740b21
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion challenges/famous-quotes-lfi/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion challenges/hello-world/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion challenges/intrusion/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.3'

services:
intrusion:
container_name: intrusion
container_name: scl-intrusion
stop_grace_period: 0s
build: .
networks:
Expand Down
2 changes: 1 addition & 1 deletion challenges/shockwave-report/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion challenges/template/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion challenges/what-is-that-noise/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion challenges/what-is-the-date/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion classes/class02/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions classes/class03/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ 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

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
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
hackerlab:
build: ./hackerlab
container_name: hackerlab
container_name: scl-hackerlab
hostname: hackerlab
restart: always
ports:
Expand All @@ -12,7 +12,7 @@ services:

dashboard:
build: ./dashboard
container_name: dashboard
container_name: scl-dashboard
hostname: dashboard
restart: always
ports:
Expand All @@ -34,7 +34,7 @@ services:

ollama:
image: ollama/ollama
container_name: ollama
container_name: scl-ollama
volumes:
- ./ollama:/root/.ollama
restart: always
Expand Down

0 comments on commit d740b21

Please sign in to comment.