xsshunter/docker-compose.yml

33 lines
829 B
YAML
Raw Normal View History

2021-05-31 19:06:40 +00:00
version: "3.9"
services:
# XSS Hunter Express service
xsshunterexpress:
build: .
2023-01-27 00:35:10 +00:00
env_file:
- dev.env
2021-05-31 19:06:40 +00:00
ports:
2023-01-27 00:35:10 +00:00
- "127.0.0.1:8080:8080"
2021-05-31 19:06:40 +00:00
volumes:
# Directory where payload fire images are stored.
- ./payload-fire-images:/app/payload-fire-images
depends_on:
2023-01-27 00:35:10 +00:00
postgresdb:
condition: service_healthy
volumes:
- ~/.config/gcloud/application_default_credentials.json:/gcloud.json
2021-05-31 19:06:40 +00:00
postgresdb:
image: postgres
restart: always
env_file:
- dev.env
2021-05-31 19:06:40 +00:00
environment:
2023-01-27 00:47:01 +00:00
PGDATA: /var/lib/postgresql/data/pgdata
2023-01-27 00:35:10 +00:00
POSTGRES_HOST_AUTH_METHOD: trust
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER"]
2023-01-27 00:35:10 +00:00
interval: 3s
timeout: 5s
retries: 5
2023-01-27 00:47:01 +00:00
volumes:
- ./postgres-db-data:/var/lib/postgresql/data/pgdata