Update examples and move them to a dedicated folder

This commit is contained in:
Harrison Burt 2022-03-30 21:22:51 +01:00
parent 7cd96a2a6f
commit d57a641068
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
backend:
scylla:
nodes:
- "127.0.0.1:9042"
keyspace: lust # The keyspace must be created ahead of time.
base_serving_path: "/images" # Serve buckets out of `/images`
global_cache:
max_capacity: 500 # We set 500MB max cache capacity.
buckets:
user-profiles: # Define a bucket called "user-profiles", this is accessable out of `/images/user-profiles`.
mode: aot # Optimise images as and when they're required then store them.
formats:
png: true # Enable PNG encoding.
jpeg: true # Enable JPEG encoding.
webp: false # Disable WebP encoding.
gif: false # Disable GIF encoding.
default_serving_format: jpeg # Serve the WebP format by default.
cache: null # Use the global cache handler.