mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-19 13:33:35 +02:00
chore: remove staging/Hetzner infra, add Watchtower auto-deploy
- Remove old Hetzner deployment workflows (cd-staging, cd-production) - Remove staging docker-compose files - Remove outdated staging/Hetzner documentation - Add Watchtower to docker-compose.macmini.yml for auto-updates - Update CLAUDE.md with Mac Mini server access - Simplify docs/DEPLOYMENT.md for new architecture Production now runs on Mac Mini with automatic deployments via Watchtower. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
f47bf8edd9
commit
ac663a6c91
27 changed files with 104 additions and 15582 deletions
|
|
@ -723,6 +723,32 @@ services:
|
|||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
# ============================================
|
||||
# Auto-Update (Watchtower)
|
||||
# ============================================
|
||||
|
||||
watchtower:
|
||||
image: containrrr/watchtower
|
||||
container_name: manacore-watchtower
|
||||
restart: always
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ~/.docker/config.json:/config.json:ro
|
||||
environment:
|
||||
TZ: Europe/Berlin
|
||||
WATCHTOWER_POLL_INTERVAL: 300 # Check every 5 minutes
|
||||
WATCHTOWER_CLEANUP: "true" # Remove old images
|
||||
WATCHTOWER_INCLUDE_STOPPED: "false" # Only update running containers
|
||||
WATCHTOWER_NO_STARTUP_MESSAGE: "false" # Log startup message
|
||||
WATCHTOWER_NOTIFICATIONS: shoutrrr
|
||||
WATCHTOWER_NOTIFICATION_URL: ${WATCHTOWER_NOTIFICATION_URL:-} # Optional: telegram://token@telegram?chats=chatid
|
||||
WATCHTOWER_NOTIFICATION_TEMPLATE: |
|
||||
{{- if .Updated -}}
|
||||
🚀 *ManaCore Update*
|
||||
Updated: {{range .Updated}}{{.Name}} {{end}}
|
||||
{{- end -}}
|
||||
command: --label-enable=false # Update all containers (not just labeled ones)
|
||||
|
||||
# ============================================
|
||||
# Volumes
|
||||
# ============================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue