35 lines
619 B
YAML
35 lines
619 B
YAML
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:
|