-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml.example
More file actions
59 lines (54 loc) · 3.07 KB
/
docker-compose.yml.example
File metadata and controls
59 lines (54 loc) · 3.07 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
services:
bot:
# ── Image source (choose one) ──────────────────────────────────────────────
# Option A — pull from the GitHub Container Registry (recommended for production):
# image: ghcr.io/agigante80/agentgate:latest # latest stable release
# image: ghcr.io/agigante80/agentgate:0.18.0 # pinned stable release
# image: ghcr.io/agigante80/agentgate:develop # latest dev snapshot
# image: ghcr.io/agigante80/agentgate:0.18.0-dev-82d004e # pinned dev snapshot
#
# Option B — build locally from source (default, useful for development):
build: .
restart: unless-stopped
env_file: .env
# Full list of env vars and their defaults: README.md → Environment Variables
# Key vars to set: PLATFORM, TG_BOT_TOKEN/SLACK_BOT_TOKEN, GITHUB_REPO_TOKEN, GITHUB_REPO, AI_CLI
volumes:
# If REPO_HOST_PATH is set in .env, bind-mount that host directory.
# Otherwise a named Docker volume is used (repo persists but is container-internal).
# Example: REPO_HOST_PATH=/home/me/VPNSentinel
- ${REPO_HOST_PATH:-repo_data}:/repo
- data_volume:/data
# Optional: mount a custom Copilot skills directory
# - ./skills:/skills:ro
# ── Platform selection ─────────────────────────────────────────────────────
# Uncomment one platform block in your .env file (not both).
#
# Telegram (default):
# PLATFORM=telegram
# TG_BOT_TOKEN=1234567890:ABC...
# TG_CHAT_ID=-1001234567890
#
# Slack (Socket Mode):
# PLATFORM=slack
# SLACK_BOT_TOKEN=xoxb-...
# SLACK_APP_TOKEN=xapp-...
# SLACK_CHANNEL_ID=C0123456789 # optional: restrict to one channel
# SLACK_ALLOWED_USERS=["U111","U222"] # optional: restrict by user ID
# ── Timezone ───────────────────────────────────────────────────────────────
# TZ=UTC # container timezone (default: UTC); e.g. Europe/London, America/New_York
# ── Storage backends ────────────────────────────────────────────────────────
# STORAGE_BACKEND=sqlite # sqlite (default) or memory (non-persistent)
# AUDIT_BACKEND=sqlite # sqlite (default) or null (no audit log)
# ── AI backend examples ────────────────────────────────────────────────────
# GitHub Copilot CLI (default):
# AI_CLI=copilot
# COPILOT_GITHUB_TOKEN=github_pat_...
#
# Google Gemini CLI:
# AI_CLI=gemini
# GEMINI_API_KEY=AIza...
# AI_MODEL=gemini-2.5-pro # optional
volumes:
repo_data:
data_volume: