View Code? Open in Web Editor
NEW
Backend of Bjoetiek Y
License: GNU General Public License v3.0
Shell 1.93%
PLpgSQL 2.55%
Rust 94.40%
Dockerfile 1.12%
bjoetiek-y-backend's Introduction
- ADMIN_USERNAME: Username of admin
- ADMIN_PASSWORD: Password of admin
- DATABASE_URL: Database url (
postgres://<user>:<pass>@<host>/<db>
)
- IMAGES_PATH: Path where images and thumbnails should be stored. Should exist and be writable.
bjoetiek-y-backend's People
Contributors
Watchers
bjoetiek-y-backend's Issues
We could use file globbing for this:
- {uuid}.png => Original
- {uuid}-300-200-fill => Thumbnail 300x200 cropped to fill
- {uuid}-500-300-fit => Thumbnail 500x300 fit
Currently solved by forcing this header in Traefik
Thumbnails might be missing when:
- New thumbnail types are added
- Thumbnail generation failed for some reason
Therefore, we need a way to (manually) force the thumbnail generation.