# Inspector compose file for buddies / self-hosters. # Pulls the published image from gitea.euronvault.com. # # Before `docker compose up -d`: # 1. Copy config.example.yml -> config.yml and edit it. # 2. Set DOCKER_GID to your host's docker group GID: # getent group docker | cut -d: -f3 # Export it in your shell or put it in a .env file next to this file. # 3. Optionally set INSPECTOR_TAG to pin a version # (default: latest). Prefer a pinned X.Y.Z for production. services: inspector: image: gitea.euronvault.com/euronvault/inspector:${INSPECTOR_TAG:-latest} container_name: inspector restart: unless-stopped # GID of the docker group on the host so the non-root user inside the # container can read /var/run/docker.sock. Required. group_add: - "${DOCKER_GID:-999}" ports: # Only published if dashboard.enabled is true in config.yml. - "${INSPECTOR_PORT:-8080}:8080" volumes: - /var/run/docker.sock:/var/run/docker.sock - ./config.yml:/app/config.yml - ./logs:/app/logs - ./data:/app/data environment: - TZ=${TZ:-UTC}