This commit is contained in:
MEGASOL\simon.adams
2025-09-17 18:25:12 +02:00
parent e7fbcd1796
commit df4d33a7d4
2 changed files with 34 additions and 1 deletions

2
.gitignore vendored
View File

@@ -1,6 +1,6 @@
*.env *.env
agent.md agent.md
docker-compose.yml
# Python cache and build artifacts # Python cache and build artifacts
__pycache__/ __pycache__/
app/__pycache__/* app/__pycache__/*

View File

@@ -0,0 +1,33 @@
services:
immich-drop:
build: .
container_name: immich-drop
restart: unless-stopped
ports:
- "8080:8080"
environment:
#immich drop server ip
IMMICH_BASE_URL: https://immich.example.com/api
IMMICH_API_KEY: ${IMMICH_API_KEY}
PUBLIC_BASE_URL: https://drop.example.com
#Enable/Disable Public upload page to folder
PUBLIC_UPLOAD_PAGE_ENABLED: false
IMMICH_ALBUM_NAME: dead-drop
# Chunked uploads to bypass 100MB limits (e.g., Cloudflare Tunnel)
CHUNKED_UPLOADS_ENABLED: true
CHUNK_SIZE_MB: 95
volumes:
- immich_drop_data:/data
healthcheck:
test: ["CMD-SHELL", "python - <<'PY'\nimport urllib.request,sys\ntry:\n urllib.request.urlopen('http://localhost:8080/').read(); sys.exit(0)\nexcept Exception:\n sys.exit(1)\nPY"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
volumes:
immich_drop_data: