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
18 lines
452 B
YAML
18 lines
452 B
YAML
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 |