-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
19 lines (19 loc) · 924 Bytes
/
Copy pathdocker-compose.example.yml
File metadata and controls
19 lines (19 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# matebot — minimal deployment.
# 1. copy to docker-compose.yml 2. fill in the env vars 3. docker compose up -d
services:
matebot:
image: ghcr.io/alexnly/matebot:latest
restart: unless-stopped
environment:
MATEBOT_MACHINE_HOST: gaggimate.local # or the machine's IP (recommended)
MATEBOT_MESSENGER: telegram # telegram | discord
TELEGRAM_BOT_TOKEN: "123456:ABC..." # from @BotFather
TELEGRAM_CHAT_ID: "12345678" # your chat with the bot
# DISCORD_BOT_TOKEN: "..."
# DISCORD_CHANNEL_ID: "..."
# --- optional: git-backed shot journal + GitHub Pages site ---
# MATEBOT_DATA_REPO: /journal
volumes:
- ./data:/data # bot state (last shot, defaults)
# - ./journal:/journal # your data repo (git clone)
# - ~/.ssh:/home/matebot/.ssh:ro # ssh key for git push