Add container names for webserver and attacker services in Docker Compose
This commit is contained in:
parent
c78722e2d6
commit
2bf23d2750
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
services:
|
||||
webserver:
|
||||
build: docker/apache2
|
||||
container_name: webserver
|
||||
ports:
|
||||
- 5000:5000
|
||||
- 80:80
|
||||
|
@ -9,6 +10,7 @@ services:
|
|||
- mynetwork
|
||||
attacker:
|
||||
build: docker/attacker
|
||||
container_name: attacker
|
||||
ports:
|
||||
- 5001:5001
|
||||
networks:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue