feat: allow usage of local folder for file storage

This commit is contained in:
Radical 2025-05-26 13:22:56 +00:00
parent 6640d03b70
commit e1a136ff51
11 changed files with 158 additions and 81 deletions

View file

@ -16,15 +16,18 @@ services:
- gorb-backend:/gorb
environment:
#- RUST_LOG=debug
# This should be changed to the public URL of the server!
- URL=http://localhost:8080
- DATABASE_USERNAME=gorb
- DATABASE_PASSWORD=gorb
- DATABASE=gorb
- DATABASE_HOST=database
- DATABASE_PORT=5432
- BUNNY_API_KEY=your_storage_zone_password_here
- BUNNY_ENDPOINT=Frankfurt
- BUNNY_ZONE=gorb
- BUNNY_CDN_URL=https://cdn.gorb.app
# These can be set to use a CDN, if they are not set then files will be stored locally
#- BUNNY_API_KEY=your_storage_zone_password_here
#- BUNNY_ENDPOINT=Frankfurt
#- BUNNY_ZONE=gorb
#- BUNNY_CDN_URL=https://cdn.gorb.app
database:
image: postgres:16
restart: always