Skip to content

/profile not working in when use profile in docker compose #385

Description

@padixa

I've used below docker compose file:

services:
  meridian:
    image: ghcr.io/rynfar/meridian:latest
    container_name: meridian
    restart: unless-stopped
    environment:
      - MERIDIAN_HOST=0.0.0.0
      - MERIDIAN_PORT=3456
      - MERIDIAN_API_KEY=XXXXXXXXXX
      - MERIDIAN_PASSTHROUGH=1
      - MERIDIAN_DEFAULT_PROFILE=home
      - MERIDIAN_PROFILES=[{"id":"home","claudeConfigDir":"/profiles/home"},{"id":"home2","claudeConfigDir":"/profiles/home2"},{"id":"home3","claudeConfigDir":"/profiles/home3"}]
      - HTTP_PROXY=http://x.x.x.x:x
      - HTTPS_PROXY=http://x.x.x.x:x
      - NO_PROXY=localhost,127.0.0.1,::1
    volumes:
      - /home/meridian/default:/home/claude/.claude      # default
      - /home/meridian/profiles/home:/profiles/home
      - /home/meridian/profiles/home2:/profiles/home2
      - /home/meridian/profiles/home3:/profiles/home3
    ports:
      - "192.168.1.77:3456:3456"

I've manually go into the container by docker exec -it meridian sh, thne try to login with home2:

CLAUDE_CONFIG_DIR="/profiles/home2"  claude login

It's all normal now, but when I opened /health, it will show:

{
status: "degraded",
version: "1.37.4",
error: "Could not verify auth status",
mode: "passthrough"
}

If I opened /profiles, it will show:

{
type: "error",
error: {
type: "authentication_error",
message: "Invalid or missing API key"
}
}

I could see there is a lot of files updated in /home2 folder in local, but dashboard seems not recognized it.and unable to connect LAN /3456 to use it in claude code extention for VSCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions