mirror of
https://github.com/laramies/theHarvester.git
synced 2026-08-17 19:35:40 +02:00
* feat: package HarvestView for local deployment * Align container smoke with JSONL API * Align container smoke with unversioned JSONL * refactor: rename web launcher to harvestview
35 lines
923 B
YAML
35 lines
923 B
YAML
services:
|
|
theharvester.svc.local:
|
|
image: theharvester:local
|
|
build:
|
|
context: .
|
|
init: true
|
|
restart: unless-stopped
|
|
read_only: true
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
shm_size: 1gb
|
|
tmpfs:
|
|
- /tmp:rw,noexec,nosuid,nodev,size=128m
|
|
environment:
|
|
THEHARVESTER_API_KEY_FILE: /run/secrets/operator-api-key
|
|
THEHARVESTER_HARVESTVIEW_LOCAL_PROXY: enabled
|
|
secrets:
|
|
- source: operator-api-key
|
|
target: operator-api-key
|
|
volumes:
|
|
- theharvester-data:/var/lib/theharvester
|
|
- ./theHarvester/data/api-keys.yaml:/etc/theHarvester/api-keys.yaml:ro
|
|
- ./theHarvester/data/proxies.yaml:/etc/theHarvester/proxies.yaml:ro
|
|
ports:
|
|
- "127.0.0.1:${THEHARVESTER_PORT:-5000}:8000"
|
|
|
|
volumes:
|
|
theharvester-data:
|
|
|
|
secrets:
|
|
operator-api-key:
|
|
file: ${THEHARVESTER_API_KEY_FILE:-./.secrets/operator-api-key}
|