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
23 lines
398 B
YAML
23 lines
398 B
YAML
version: '2'
|
|
services:
|
|
web:
|
|
image: vulhub/v2board:1.6.1
|
|
ports:
|
|
- "8080:80"
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
entrypoint:
|
|
- bash
|
|
- /entrypoint.sh
|
|
volumes:
|
|
- ./entrypoint.sh:/entrypoint.sh
|
|
command: apache2-foreground
|
|
db:
|
|
image: mysql:5.7
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=root
|
|
- MYSQL_DATABASE=v2board
|
|
redis:
|
|
image: redis:7-alpine
|