Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

fix: auto-set DALCENTER_URL in daemon startup#706

Merged
dalsoop merged 1 commit into
mainfrom
fix/558-auto-set-dalcenter-url
Apr 3, 2026
Merged

fix: auto-set DALCENTER_URL in daemon startup#706
dalsoop merged 1 commit into
mainfrom
fix/558-auto-set-dalcenter-url

Conversation

@dalsoop
Copy link
Copy Markdown
Owner

@dalsoop dalsoop commented Apr 3, 2026

Summary

  • Run() 초기화 시 DALCENTER_URL 환경변수가 비어있으면 http://localhost:{addr}로 자동 설정
  • /etc/dalcenter/*.env에 수동 설정 없이도 자식 프로세스/컨테이너가 올바른 URL을 상속

Closes #558

Test plan

  • DALCENTER_URL 미설정 상태로 데몬 시작 → 로그에 DALCENTER_URL auto-set 확인
  • DALCENTER_URL 사전 설정 상태로 데몬 시작 → 기존 값 유지 확인
  • dal 컨테이너 내부에서 printenv DALCENTER_URL 확인

🤖 Generated with Claude Code

When DALCENTER_URL environment variable is empty, automatically set it
to http://localhost:{port} based on the daemon's listen address. This
ensures child processes and containers inherit the correct URL without
requiring manual configuration in /etc/dalcenter/*.env.

Closes #558

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dalsoop dalsoop merged commit b3a80b3 into main Apr 3, 2026
1 check failed
@dalsoop dalsoop deleted the fix/558-auto-set-dalcenter-url branch April 3, 2026 06:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: DALCENTER_URL을 dalcenter.env + bashrc에 자동 설정

1 participant