# Coolify-managed Docker Compose service for log-proxy. # # Deploy via Coolify UI: # Resource → Add → Docker Compose (Public Repository) # Repository: https://repo.rahamafresh.com/kianiadee/dozzle_n8n_logging # Branch: main # Compose path: coolify/log-proxy.compose.yml # Build pack: Dockerfile (Coolify auto-detects from compose build:) # Domain: leave empty — service is internal-only # # After deploy, n8n reaches it at: http://log-proxy:8080 # Why an external network? n8n lives on its own Coolify-isolated network # (o55elukmxacgp1s2xcwktyam). Attaching log-proxy to that network as a sidecar # is less invasive than rewiring n8n. services: log-proxy: build: context: ../log-proxy dockerfile: Dockerfile restart: unless-stopped # Only read access. No write endpoints in the app; this is belt-and-braces. volumes: - /var/run/docker.sock:/var/run/docker.sock:ro # Join the n8n service network so n8n can resolve `log-proxy` by name. networks: n8n_net: aliases: - log-proxy healthcheck: test: - CMD - python - -c - "import urllib.request,sys; sys.exit(0 if urllib.request.urlopen('http://localhost:8080/healthz', timeout=3).status==200 else 1)" interval: 30s timeout: 5s retries: 3 start_period: 10s # No published ports — internal only. n8n reaches the container via the # shared `n8n_net` network on port 8080. expose: - "8080" # Light defensive limits. Tune if log volume on a group is very high. deploy: resources: limits: memory: 256M networks: # The n8n queue-mode service's Docker network. Coolify created this when # it deployed n8n-o55elukmxacgp1s2xcwktyam. n8n_net: name: o55elukmxacgp1s2xcwktyam external: true