-
Notifications
You must be signed in to change notification settings - Fork 295
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
26 lines (24 loc) · 1.05 KB
/
docker-compose.dev.yml
File metadata and controls
26 lines (24 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# =============================================================================
# RedAmon - Development Overrides
# =============================================================================
# Usage: docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d
# =============================================================================
# Swaps the production webapp build for a dev container with Next.js fast
# refresh. Source code is volume-mounted so every save is reflected instantly.
# =============================================================================
services:
webapp:
build: !reset null
image: node:22-alpine
working_dir: /app
command: sh -c "npm install && npx prisma db push && npm run dev"
volumes:
- ./webapp:/app
- webapp_node_modules:/app/node_modules
- webapp_next_cache:/app/.next
- ./recon/output:/data/recon-output:ro
- ./gvm_scan/output:/data/gvm-output:ro
- ./github_secret_hunt/output:/data/github-hunt-output:ro
volumes:
webapp_node_modules:
webapp_next_cache: