Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(admin-cli): load env files #3503

Merged
merged 1 commit into from
Aug 1, 2023
Merged

fix(admin-cli): load env files #3503

merged 1 commit into from
Aug 1, 2023

Conversation

jrasm91
Copy link
Contributor

@jrasm91 jrasm91 commented Aug 1, 2023

In this PR:

Tested:

  • Invoked the CLI on the host without any env set, got DB_* is required
  • Created a file with a connection string and exported it as DB_URL_FILE, observed the DB_* fields no longer produce errors

@vercel
Copy link

vercel bot commented Aug 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
immich ⬜️ Ignored (Inspect) Aug 1, 2023 8:32pm

@jrasm91 jrasm91 changed the title fix(admin-cli): load env files for cli fix(admin-cli): load env files Aug 1, 2023
@alextran1502 alextran1502 merged commit 2835919 into main Aug 1, 2023
20 checks passed
@alextran1502 alextran1502 deleted the fix/3397 branch August 1, 2023 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] immich-admin commands all throw error "DB_USERNAME" is required. "DB_PASSWORD" is required
2 participants