Changed composition to make it easier to user

This commit is contained in:
Christian Risi
2025-06-25 16:12:08 +02:00
parent cc7f8bcba8
commit fa8d967748
9 changed files with 86 additions and 218 deletions

View File

@@ -1,34 +1,10 @@
services:
vulnbox:
privileged: true
env_file:
- ./config/vulnbox/.env
build:
context: ./vulnbox
dockerfile: DOCKERFILE
volumes:
- ./vulnbox/nginx:/etc/nginx/
- ./private/:/services-keys
ports:
- 8080:80
- 3000:3000
- 3443:3443
- 0.0.0.0:22:22
networks:
- test-net
entrypoint: entry.sh
express-tls:
build:
context: ./services/ExpressTLS
dockerfile: DOCKERFILE
volumes:
- ./private/ExpressTLS:/workspace/keys
networks:
- test-net
ports:
- 0.0.0.0:8443:8443
networks:
test-net:
network_mode: host
entrypoint: entry.sh