services: muorg-server: image: ghcr.io/nergy101/muorg-server:latest ports: - "7700:7700" volumes: # Config file — copy muorg-server.example.toml → muorg-server.toml and edit it. # The server reads ./muorg-server.toml from its working directory (/app). - ./muorg-server.toml:/app/muorg-server.toml:ro # Persistent data (SQLite DB + backups) - muorg-data:/data # Your music library — adjust the host path to wherever your music lives. # Match this with content_paths in muorg-server.toml. - /path/to/your/music:/music:ro # Cloud storage credentials, if you configured [[library.remotes]]. # Keeping them here (from a sibling .env file) rather than in the mounted # TOML means secrets never land in a config file. # env_file: .env # environment: # MUORG_REMOTE_CLOUD_ACCESS_KEY_ID: ${MUORG_REMOTE_CLOUD_ACCESS_KEY_ID} # MUORG_REMOTE_CLOUD_SECRET_ACCESS_KEY: ${MUORG_REMOTE_CLOUD_SECRET_ACCESS_KEY} restart: unless-stopped healthcheck: test: ["CMD", "sh", "-c", "curl -sf http://localhost:7700/api/health || exit 1"] interval: 30s timeout: 5s retries: 3 start_period: 10s volumes: muorg-data: