25 lines
1.0 KiB
YAML
Executable File
25 lines
1.0 KiB
YAML
Executable File
# ──────────────────────────────────────────────────────────────
|
|
# VulnForge — docker compose
|
|
# Usage:
|
|
# 1. copy .env.example .env (and fill in DISCORD_TOKEN)
|
|
# 2. docker compose up -d --build
|
|
# 3. docker compose logs -f
|
|
# ──────────────────────────────────────────────────────────────
|
|
services:
|
|
vulnforge:
|
|
build: .
|
|
image: vulnforge:latest
|
|
container_name: vulnforge
|
|
restart: unless-stopped
|
|
# Loads DISCORD_TOKEN, NVD_API_KEY, GUILD_ID, etc. from .env
|
|
env_file:
|
|
- .env
|
|
# Persist SQLite DB + cached API responses across container rebuilds.
|
|
volumes:
|
|
- vulnforge_data:/app/data
|
|
# No inbound ports needed — the bot only makes outbound calls
|
|
# (Discord gateway, NVD, CISA).
|
|
|
|
volumes:
|
|
vulnforge_data:
|