Add Traefik reverse proxy support with automatic SSL

Configure Immich to work with existing Traefik instance:
- Add Traefik labels to immich-server for automatic routing
- Add external traefik network connection
- Disable direct port exposure (use Traefik instead)
- Add DOMAIN variable to .env.example
- Improve .gitignore for generated files and volumes
- Add comprehensive README with deployment instructions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
BeauTroll
2026-01-04 07:20:08 +01:00
parent e83e215120
commit 0d8d9dcda8
4 changed files with 280 additions and 2 deletions

17
.gitignore vendored
View File

@@ -1 +1,18 @@
# Environment variables
.env
# Upload directory
library/
# Docker volumes
pgdata/
# System files
.DS_Store
Thumbs.db
# IDE
.vscode/
.idea/
*.swp
*.swo