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
25 lines
446 B
YAML
25 lines
446 B
YAML
version: '2'
|
|
services:
|
|
web:
|
|
image: vulhub/django:4.0.5
|
|
ports:
|
|
- "8000:8000"
|
|
depends_on:
|
|
- db
|
|
volumes:
|
|
- ./web:/usr/src
|
|
- ./docker-entrypoint.sh:/docker-entrypoint.sh
|
|
entrypoint:
|
|
- bash
|
|
- /docker-entrypoint.sh
|
|
command:
|
|
- python
|
|
- app.py
|
|
- runserver
|
|
- 0.0.0.0:8000
|
|
db:
|
|
image: postgres:13-alpine
|
|
environment:
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_DB=CVE_2022_34265
|