tursodatabase / tursodatabase/libsql

Running the documented Docker Compose build throws an error

Open
#1,312 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
17.2k
Forks
531
Avg merge
1h 12m
Merged PRs (30d)
1

Description

Straight from docs:

version: "3"
services:
  db:
    image: ghcr.io/tursodatabase/libsql-server:main
    platform: linux/amd64
    ports:
      - "8080:8080"
      - "5001:5001"
    # environment:
    #   - SQLD_NODE=primary
    volumes:
      - ./data/libsql:/var/lib/sqld

Throws Error:

/usr/local/bin/docker-entrypoint.sh: line 18: SQLD_HTTP_AUTH: unbound variable

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the documented Docker Compose configuration and inspect /usr/local/bin/docker-entrypoint.sh at line 18, where the reported SQLD_HTTP_AUTH error occurs. Reproduce the command from the issue and verify that the documented setup completes without the unbound-variable error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops, documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.