Skip to content

feat: uteke-serve reads uteke.toml config, default host 0.0.0.0 #96

Closed

Description

@ajianaz

Summary

Server currently ignores uteke.toml and hardcodes host 127.0.0.1. Make it read config, default to 0.0.0.0 for Docker, and support UTEKE_HOME for data path.

Acceptance Criteria

  • uteke-serve reads uteke.toml (same layered resolution as CLI: defaults > global > project)
  • Default host is 0.0.0.0 (Docker-compatible), not 127.0.0.1
  • Default port is 8767
  • CLI args --host and --port override config values
  • DB path uses UTEKE_HOME when set, falls back to dirs::home_dir()
  • --help output reflects new defaults
  • No breaking change — uteke-serve without config still works

Config (uteke.toml)

[server]
host = "0.0.0.0"
port = 8767

Depends On

Verification

# No config — defaults
uteke-serve                                        # binds 0.0.0.0:8767

# Custom config
echo -e "[server]\nhost = \"192.168.1.100\"\nport = 9000" > uteke.toml
uteke-serve                                        # binds 192.168.1.100:9000

# UTEKE_HOME override
UTEKE_HOME=/data uteke-serve                       # DB at /data/uteke.db

Activity

  1. added 5 commits that reference this issue on Jun 1, 2026
    c5c4512
    217624a
    2ad079c
    5762005
    da7b488
  2. added 2 commits that reference this issue on Jun 1, 2026
    59169bc
    777bf12
  3. added a commit that references this issue on Aug 13, 2026
    bdf93c9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope:clitype:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions