Refactor Docker setup and replace web files with new structure

This commit is contained in:
Lukian 2025-01-21 08:39:08 +01:00
parent 2e2ec0885c
commit f1d2a93752
5 changed files with 18 additions and 13 deletions

View file

@ -1,16 +1,22 @@
services:
webserver:
dockerfile: docker/apache2/dockerfile
build: .
build: docker/apache2
ports:
- "5000:5000"
- 5000:5000
- 80:80
volumes:
- .:/code
networks:
- mynetwork
attacker:
dockerfile: docker/attacker/dockerfile
build: .
build: docker/attacker
ports:
- "5001:5001"
- 5001:5001
volumes:
- .:/code
networks:
- mynetwork
networks:
mynetwork:
external: false