Important: Consider setting secure MinIO credentials for production use.
- Open VSCode Development Container
cargo runstarts the GraphQL service + GraphiQL on port8080
docker compose -f docker-compose-dev.yaml up --buildin the repository root directory. IMPORTANT: MinIO credentials should be configured for production.
- Serves static files to any domain with Nginx
- Features file uploads via GraphQL
- Generates pre-signed URLs for files at a GraphQL endpoint
- Allows configuration of the pre-signed URL domain
The media services uses a Nginx reverse proxy to make the fixed domain of MinIO pre-signed URLs configurable through environment variables.
The service parses the following environment variables:
MINIO_ENDPOINT: configurable domain of the MinIO instance.PATH_EXPIRATION_TIME: validity duration of MinIO pre-signed URLs in seconds.PROXY_PATH: path to include in the pre-signed URLs