Skip to content
Kinnaird McQuade edited this page Sep 27, 2024 · 3 revisions

Building:

export DOCKER_DEFAULT_PLATFORM=linux/amd64

docker compose build
docker tag dvpwa-sqli:latest insecureapps/dvpwa-sqli:latest
docker push insecureapps/dvpwa-sqli:latest

Then use this docker compose so you don't have to build it every time:

services:
  postgres:
    build:
      image: insecureapps/dvpwa-sqli:latest
    ports:
      - 5432:5432

  redis:
    image: redis:alpine

  sqli:
    build:
      image: insecureapps/dvpwa-postgres:latest
    depends_on:
      - postgres
      - redis
    ports:
      - 8080:8080
    command: |
      wait-for postgres:5432 -- python run.py
Clone this wiki locally