Sign inSign up

icalialabs/medusa_server

By icalialabs

Updated over 9 years ago

A simple server that runs medusa to stack multiple images

Image
0

1.2K

icalialabs/medusa_server repository overview

Medusa

Overview

medusa_server is a simple web server written in elixir that uses medusa command line interface to stack multiple images from URL's.

Table of contents

Prerequisites

medusa_server is distributed and run as a Docker image. You don't need to install elixir or anything else but Docker.

Installation

% docker pull icalialabs/medusa_server:latest

Usage

Before using medusa_server make sure you have the images url's and make sure the port 2604 is not being used by other process.

1: Standard (Non-development)

docker run --rm \
	icalialabs/medusa_server:latest
	
16:35:14.255 [info]  Started application

Then you can call the service like:

curl -X POST "http://localhost:2604/process" \
	-d "urls[]=https://s3.amazonaws.com/bucketname/bg.png" 
	-d "urls[]=https://s3.amazonaws.com/bucketname/area-int.png"

You should see a base64 string representing the stacked image.

Contributing

Please submit all pull requests against a separate branch.

Thanks!

License

See LICENSE

Tag summary

Content type

Image

Digest

Size

326.2 MB

Last updated

over 9 years ago

docker pull icalialabs/medusa_server