Skip to content

Commit f460d29

Browse files
committed
vuln_apps: let user override ports if they like
1 parent cc4fa55 commit f460d29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vuln_apps/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ services:
66
links:
77
- php
88
ports:
9-
- "8080:80"
9+
- "${NOSQLMAP_VULN_APPS_APACHE_PORT:-8080}:80"
1010
volumes:
1111
- ./src:/usr/local/apache2/htdocs
1212
php:
1313
container_name: php
1414
build: ./docker/php
1515
ports:
16-
- "9000:9000"
16+
- "${NOSQLMAP_VULN_APPS_PHP_PORT:-9000}:9000"
1717
volumes:
1818
- ./src:/usr/local/apache2/htdocs
1919
working_dir: /usr/local/apache2/htdocs
@@ -24,4 +24,4 @@ services:
2424
MONGO_INITDB_ROOT_PASSWORD: prisma
2525
build: ./docker/mongo
2626
ports:
27-
- "27017:27017"
27+
- "${NOSQLMAP_VULN_APPS_MONGO_PORT:-27017}:27017"

0 commit comments

Comments
 (0)