fix: use docker-compose.override.yml for server-specific config

- Remove :ro and network: host from base docker-compose.yml
- Add docker-compose.override.yml.example with network/healthcheck template
- Add docker-compose.override.yml to .gitignore

This allows git pull without conflicts on the server. Server-specific
settings (external networks, healthchecks) go in the override file.
This commit is contained in:
ralksta
2026-05-29 17:33:19 +02:00
parent 01dde84216
commit f820a7b683
3 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
# Copy this file to docker-compose.override.yml and adjust for your server.
# This file is git-ignored — your local changes won't conflict with pulls.
#
# Example: add external network, healthcheck, or other server-specific settings.
services:
lightbox:
networks:
- default
- immich_network
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:7211/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
networks:
immich_network:
external: true
name: immich-app_default