mirror of
https://github.com/matze/wastebin.git
synced 2026-04-25 08:36:00 +03:00
[GH-ISSUE #6] Error: ParseIntError #5
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wastebin-matze#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @loranger on GitHub (Sep 30, 2022).
Original GitHub issue: https://github.com/matze/wastebin/issues/6
Hello,
I try to make wastebin running from docker-compose (under a reverse-proxy). Here is my setup:
.env
docker-compose.yml
I did struggle with sqlite permissions, but I fixed the issue by mounting a writeable folder instead of the sqlite file itself (even if the database file is also writeable)
Then I up the service and database is found, opened and migrations are applied, but then it fails on a ParseIntError
What did I miss ?
@matze commented on GitHub (Sep 30, 2022):
I suppose
It's given in number of bytes. So, you rather want
WASTEBIN_MAX_BODY_SIZE=1048576or just leave it at the default which is also 1MB.P.S.: but I will try to enhance the error message with more context.
@loranger commented on GitHub (Sep 30, 2022):
Thanks for the fast answer.
You were right the problem came from the BODY_SIZE. I should have read more carefully the README file.
Now there an issue with the socket :
@loranger commented on GitHub (Sep 30, 2022):
Ok, like
WASTEBIN_MAX_BODY_SIZE,WASTEBIN_ADDRESS_PORTmust follow a specific format, must contain the listening ip and cannot have just the port.Here is my complete working setup, for anyone interested in.
.env
docker-compose.yml
Thanks for your support and this awesome project, @matze