Skip to content

Let .env set the home quota and the free-space floor - #19

Merged
ssenerg merged 1 commit into
mainfrom
compose-quota
Oct 24, 2026
Merged

ssenerg merged 1 commit into
mainfrom
compose-quota

Conversation

@ssenerg

@ssenerg ssenerg commented Oct 24, 2026

Copy link
Copy Markdown
Owner

docker-compose.yml passes goftp only the variables it names, so GOFTP_HOMES_QUOTA (from #18) and GOFTP_UPLOAD_MIN_FREE (from #17) set in .env never reached the server.

  • docker-compose.yml now passes both, defaulting to goftp's own defaults: no quota, and 1 GiB of free disk.
  • .env.example describes both.
  • The README names GOFTP_UPLOAD_MIN_FREE next to upload.min_free.

Checked with docker compose config: unset, they render as 0 and 1GiB; set in the environment, they come through as given.

After merging: CI doesn't update yuhaha's copy of docker-compose.yml, which is root's. It has to be installed there again by hand, as the README's Deploying section says.

🤖 Generated with Claude Code

docker-compose.yml passes only the settings it names to goftp, so
GOFTP_HOMES_QUOTA and GOFTP_UPLOAD_MIN_FREE in .env did nothing. Both are
passed now, with goftp's defaults (no quota, 1GiB), and .env.example
describes them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ssenerg
ssenerg merged commit 3d3984f into main Oct 24, 2026
4 checks passed
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.

1 participant