feat: allow usage of local folder for file storage
This commit is contained in:
parent
6640d03b70
commit
e1a136ff51
11 changed files with 158 additions and 81 deletions
11
compose.yml
11
compose.yml
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue