Skip to content

1. Installation

shelland edited this page Feb 24, 2021 · 8 revisions

ImageServer can be currently deployed only using a Docker container.

The server requires a valid configuration file before starting - we need to know what directory will be used for image storage purposes etc. You will may need to create a Docker volume to keep processed images on the host machine instead of container's file system. Please, check application configuration section before proceed.

Sample docker compose file:

version: '3.9'

services:
  imageserver:
    image: shelland/image-server:latest
    restart: always
    volumes:
      - /tmp:/tmp
    environment:
      ASPNETCORE_ENVIRONMENT: Development
    ports:
      - "5000:5000"

It is strongly recommended to keep running ImageServer behind of the "mature" server like Nginx. You can easily set up a working directory servable by Nginx or proxy incoming requests from Nginx to the ImageServer. Internally, ImageServer used a built-in server named Kestrel that is high performance web server.

Clone this wiki locally