tts-voice-creator-clone-and.../.gitignore
mARTin-B78 7f35d32f3e Replace named Docker volume with local bind-mount folders
config/ and logs/ are now host directories visible on the filesystem.

- docker-compose.yml: ./config → /home/app/.config/tts-voice-creator:rw
                      ./logs   → /logs:rw
  Named volume tts-voice-creator-clone-and-design-2 removed.
- portainer-stack.yml: same change with absolute host paths.
- server.py: RotatingFileHandler writes INFO+ to /logs/app.log
  (maxBytes=5MB, backupCount=3). Falls back gracefully if /logs
  is not writable.
- .gitignore: track config/ and logs/ dirs via .gitkeep but exclude
  settings.json, *.log and backups from version control.

Benefits:
- Settings and logs are human-readable on the host at any time
- Survives docker-compose down -v (was lost with named volume)
- Easy backup: cp -r config/ logs/ to any destination
- Can edit settings.json directly if needed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-29 15:31:46 +02:00

41 lines
578 B
Plaintext

__pycache__/
*.pyc
*.pyo
.env
.env.*
*.log
.DS_Store
.claude/
.vscode/
*.code-workspace
# Local runtime data and private voice assets
voices/
active_voices/
hidden_voices/
*.wav
*.mp3
*.ogg
*.flac
*.m4a
*.mp4
*.mkv
*.webm
*.aac
*.reference.txt
*.meta.json
# Local settings and generated scratch data
settings.json
voice_design_presets.json
# Personal documentation (not part of the public repo)
APP_ERKLÄRUNG.md
# Local bind-mount data — keep directory, ignore contents
config/settings.json
config/voice_design_presets.json
config/tts_routes.json
logs/*.log
logs/*.log.*