Skip to content

Setup Imagor server

Nicolas Steenlant edited this page Aug 18, 2022 · 2 revisions

Example docker-compose.yml

services:
  imagor:
    container_name: imagor
    image: shumc/imagor:1.0.2
    volumes:
      - /data/biblio_backend/files:/vol/files
      - /data/biblio_backend/img:/vol/img
    environment:
      PORT: 8086
      IMAGOR_SECRET: replace-with-sha1-hmac-key
      IMAGOR_DISABLE_ERROR_BODY: 1
      HTTP_LOADER_DISABLE: 1
      FILE_LOADER_BASE_DIR: /vol/files/root
      FILE_STORAGE_BASE_DIR: /vol/img
      FILE_RESULT_STORAGE_BASE_DIR: /vol/img/res
    ports:
      - 8086:8086
Clone this wiki locally