feat: add Docker deployment support
- Add Dockerfile with Node.js 18 alpine build - Add docker-compose.yml with environment configuration - Add docs/DOCKER.md deployment guide - Update README.md with Docker quick start section - Server binds to 0.0.0.0:3333 for external access - UI available at http://localhost:3333/ui/ - Volumes mounted for reports and evidence persistence
This commit is contained in:
1 parent
c040afd977
commit
3aa4023c8f
4 files changed
+278
No files matched your search
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: t3mp3st
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- T3MP3ST_HOST=0.0.0.0
|
||||
- T3MP3ST_PORT=3333
|
||||
volumes:
|
||||
- ./reports:/app/reports
|
||||
- ./evidence:/app/evidence
|
||||
ports:
|
||||
- "3333:3333"
|
||||
healthcheck:
|
||||
test: ["CMD", "node", "-e", "process.exit(0)"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
Reference in new issue
Block a user