Files
thefeed/.dockerignore
T
Mustafa 15137c9e69 feat: add Docker support for server deployment
Add Docker deployment option for the server with multi-stage build.

Changes:
- Dockerfile: multi-stage build (golang:1.26-alpine → alpine:3.21, ~23MB)
- docker-compose.yml: server service on port 5300/udp with iptables redirect
- .env.example: documented environment variables template
- .dockerignore: optimized build context
- README.md & README-FA.md: Docker deployment guide, port 53 safety checks,
  and troubleshooting instructions (both EN and FA)
- configs: added more Telegram channels and X accounts

The container listens on port 5300 to avoid conflict with systemd-resolved.
External DNS traffic (port 53) is redirected via iptables PREROUTING.
No changes to existing Go source code.
2026-04-13 01:04:09 +03:30

51 lines
504 B
Plaintext

# Build outputs
build/
# IDE
.idea/
.vscode/
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
# Git
.git/
.gitignore
# Data (user-specific, mounted as volume)
data/
thefeeddata/
.thefeed/
# Environment secrets
.env
# Session data
session.json
# Agent config
.agent/
# Temporary
tmp/
todo
todo.md
# Documentation (not needed in image)
README.md
README-FA.md
LICENSE
docs/
# Android (not relevant for server)
android/
# Tests (not needed in production image)
test/
# Scripts (not needed in image)
scripts/