first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
18
thinkphp/in-sqlinjection/docker-compose.yml
Normal file
18
thinkphp/in-sqlinjection/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
web:
|
||||
image: vulhub/thinkphp:5.0.9
|
||||
depends_on:
|
||||
- mysql
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./www/controller:/var/www/application/index/controller
|
||||
- ./www/model:/var/www/application/index/model
|
||||
- ./www/database.php:/var/www/application/database.php
|
||||
mysql:
|
||||
image: mysql:5.5
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=root
|
||||
- MYSQL_DATABASE=cat
|
||||
volumes:
|
||||
- ./www/init.sql:/docker-entrypoint-initdb.d/init.sql
|
Reference in New Issue
Block a user