-
Notifications
You must be signed in to change notification settings - Fork 58
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
Cannot increase the maximum size of an upload #1529
Comments
Hi @wsw70, can you try |
I tried: environment:
- SHARRY_BACKEND_SHARE_MAX_SIZE=10G
- SHARRY_CHUNK_SIZE=100M After restarting the stack I still get |
That is strange. I just tried it here and it works. This is the compose file I used: version: '3.7'
services:
restserver:
image: eikek0/sharry:latest
container_name: sharry
command: /opt/sharry.conf
ports:
- "9090:9090"
volumes:
- ${PWD}/sharry.conf:/opt/sharry.conf
environment:
- SHARRY_BACKEND_SHARE_MAX_SIZE=23G
- SHARRY_BACKEND_AUTH_FIXED_ENABLE=true
depends_on:
db:
condition: service_healthy
db:
image: postgres:17.0
container_name: postgres_db
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=dbuser
- POSTGRES_PASSWORD=dbpass
- POSTGRES_DB=dbname
- PGUSER=dbuser
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "dbname"]
interval: 15s
timeout: 60s
retries: 5
start_period: 15s
volumes:
postgres_data: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. This only applies to 'question' issues. Always feel free to reopen or create new issues. Thank you! |
According to the documentation,
max-size
sets the maximum size for an upload (1.5 GB by default). I tried to change it in my docker deployment by using the relevant env variable (sharry is behind a reverse proxy, namely Traefik):SHARRY_MAX_SIZE
does not change the default, 1.5G is displayed in the upload section and it is indeed the maximumThe text was updated successfully, but these errors were encountered: