Small microservice for image generation.
ImageServer is licensed under the EUPL-1.2-or-later.
Property | Type | Description | Default value |
---|---|---|---|
SERVER_PORT | number | The server port to listen on | 8080 |
ENABLE_CACHE | boolean | If the server should cache generated images | true |
CACHE_DIRECTORY | string | The directory cached images should be stored in | cache |
ImageServer also comes as a Docker image, discorddungeons/imageserver
.
It is recommended that you attach a permanent volume mounted to your cache folder when running the docker image.
Run with
docker run -p 8080:8080 --env-file .env discorddungeons/imageserver
ImageServer uses a custom JSON Schema known as IQL for specifying the image generation.
The docs can be found in the /docs/iql folder.