mirror of
https://github.com/supabase/supabase.git
synced 2026-06-27 19:14:37 -04:00
dd512e912a
## What changed - added `docker/volumes/.gitattributes` with `* text=auto eol=lf` to enforce LF line endings for Docker-mounted volume files - added a Windows troubleshooting warning to the self-hosting Docker guide for Kong startup failures caused by CRLF line endings ## Why Issue #44052 reports `supabase-kong` failing with `exec /home/kong/kong-entrypoint.sh: no such file or directory`. A common cause is CRLF conversion on Windows for mounted shell scripts. Enforcing LF in `docker/volumes` prevents this class of failure for fresh checkouts/copies. ## Validation - `git check-attr text eol -- docker/volumes/api/kong-entrypoint.sh docker/volumes/db/roles.sql docker/volumes/logs/vector.yml` - `pnpm exec prettier --check apps/docs/content/guides/self-hosting/docker.mdx` - attempted `pnpm --prefix apps/docs run lint:mdx` (failed locally due missing `node-pty` native module in this environment) Closes #44052 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Added warning about Windows CRLF line ending issues with Docker mounted scripts and resolution steps. * **Chores** * Added line ending configuration to enforce LF format in Docker volumes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
18 lines
200 B
Plaintext
18 lines
200 B
Plaintext
* text=auto
|
|
|
|
*.md eol=lf
|
|
|
|
*.env eol=lf
|
|
.env.example eol=lf
|
|
|
|
*.sh eol=lf
|
|
*.sql eol=lf
|
|
*.yml eol=lf
|
|
*.yaml eol=lf
|
|
*.ts eol=lf
|
|
*.exs eol=lf
|
|
*.conf eol=lf
|
|
*.tpl eol=lf
|
|
Caddyfile eol=lf
|
|
Dockerfile* eol=lf
|