telegram-mcp/docker-compose.yml
anonim 91039571ca chore: rename container in docker-compose.yml for consistency
Updated the container name in docker-compose.yml from 'telegram_mcp_server' to 'telegram-mcp' to align with naming conventions and improve clarity.
2025-04-24 15:09:00 +03:00

20 lines
No EOL
653 B
YAML

version: '3.8'
services:
telegram-mcp-server:
build:
context: .
dockerfile: Dockerfile
container_name: telegram-mcp
# Load environment variables from a .env file in the same directory
env_file:
- .env
# Keep stdin open and allocate a pseudo-TTY, crucial for stdio MCP servers
stdin_open: true
tty: true
# Optional: Uncomment the following lines to mount a local directory
# for persisting the Telegram session file if NOT using TELEGRAM_SESSION_STRING.
# Replace './telegram_sessions' with your desired host path.
# volumes:
# - ./telegram_sessions:/app
restart: unless-stopped