Post Reply 
suggestions for improvement for the docker images of MinimServer
10-04-2025, 12:36 (This post was last modified: 10-04-2025 22:43 by airflow.)
Post: #5
RE: suggestions for improvement for the docker images of MinimServer
In case anyone's interested, this is how my docker-compose file looks now, with working healthcheck.

Code:
services:
  minimserver:
    image: minimworld/minimserver:latest
    init: true
    restart: always
    container_name: minimserver
    volumes:
      - /mnt/DATA/shares/musik:/Music:ro
    network_mode: host
    ports:
      - 192.168.0.2:9790:9790
      - 192.168.0.2:9791:9791
    healthcheck:
      # Use grep -q to check for "is running". Exits 0 if found, 1 otherwise.
      test: ["CMD-SHELL", "echo about | /opt/minimserver/minimserver-2.2/bin/mscript | grep -q 'is running'"]
      start_period: 60s  # Wait 60s before the first check
      interval: 30s     # Check every 30s after the start_period
      timeout: 10s      # Allow 10s for the command to run
      retries: 3        # Mark as unhealthy after 3 consecutive failures
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: suggestions for improvement for the docker images of MinimServer - airflow - 10-04-2025 12:36

Forum Jump:


User(s) browsing this thread: 1 Guest(s)