Migrate Docker containers to dedicated VM
Architecture changes: - Created VM 100 "docker-services" (Debian 12 Cloud Image) - 10GB RAM, 6 Cores, 50GB system disk - Separate 100GB LVM data volume for service data - WireGuard moved from host to VM (10.0.0.2) - All containers migrated and running Updated documentation to reflect new architecture 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -217,6 +217,47 @@ services:
|
||||
networks:
|
||||
- websites-net
|
||||
|
||||
# ============================================
|
||||
# SAMSUNG TV API - Smart TV Steuerung
|
||||
# ============================================
|
||||
samsung-tv-api:
|
||||
build:
|
||||
context: ./samsung-tv-api
|
||||
dockerfile: Dockerfile
|
||||
container_name: samsung-tv-api
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- apparmor=unconfined
|
||||
- seccomp=unconfined
|
||||
ports:
|
||||
- "5050:5000"
|
||||
volumes:
|
||||
- /opt/docker/samsung-tv-api:/data
|
||||
environment:
|
||||
- SAMSUNG_TV_IP=${SAMSUNG_TV_IP:-192.168.178.100}
|
||||
- SAMSUNG_TV_MAC=${SAMSUNG_TV_MAC:-}
|
||||
- SAMSUNG_TV_NAME=n8n-proxmox
|
||||
- SAMSUNG_TV_PORT=8002
|
||||
- SAMSUNG_TV_TOKEN_FILE=/data/tv-token.txt
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:5000/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 128M
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
networks:
|
||||
- samsung-tv-net
|
||||
- n8n-net # Damit n8n direkt zugreifen kann
|
||||
|
||||
# ============================================
|
||||
# API - FastAPI Backend
|
||||
# ============================================
|
||||
@@ -268,3 +309,5 @@ networks:
|
||||
driver: bridge
|
||||
api-net:
|
||||
driver: bridge
|
||||
samsung-tv-net:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user