删除文件 cve/django/2022/docker-compose.yml

This commit is contained in:
王倩云 2023-03-17 07:20:19 +00:00 committed by Re3et
parent 6acadf508c
commit 2ec3bd3a48
1 changed files with 0 additions and 30 deletions

View File

@ -1,30 +0,0 @@
version: "2.1"
services:
v4_0_5:
container_name: CVE_2022_34265_v4.0.5
build: ./
ports:
- 4131:8000
depends_on:
postgres:
condition: service_healthy
command: bash -c "python3 manage.py makemigrations && python3 manage.py migrate && python3 manage.py runserver 0.0.0.0:8000"
postgres:
image: postgres:latest
restart: always
environment:
POSTGRES_USER: vuln
POSTGRES_PASSWORD: vuln
PGPASSWORD: vuln
POSTGRES_DB: vuln
TZ: "Asia/Tokyo"
PGPORT: 5433
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 10s
timeout: 5s
retries: 5