Sign inSign up

teamparallax/conversion-service

By teamparallax

Updated over 4 years ago

A Typescript REST API (OA v3) to convert files with unoconv, ffmpeg, and imagemagick

Image
0

3.3K

teamparallax/conversion-service repository overview

team-parallax/conversion-service

This project provides a webservice with a REST-API for file-conversions using ffmpeg, imageMagick and unoconv.

You can use the built image of teamparallax/conversion-service by running the following command:

Run Container
# Run the image
docker run [--name <NAME>] -it -p <YOUR_PORT>:3000 teamparallax/conversion-service:<TAG>

# Pass env variables to container
docker run [--name <NAME>] -it -e <KEY>=<VALUE> -p <YOUR_PORT>:3000 teamparallax/conversion-service:<TAG>

# Pass variables with env-file
docker run [--name <NAME>] -it --env-file <PATH TO ENV-FILE> -p <YOUR_PORT>:3000 teamparallax/conversion-service:<TAG>
Using docker-compose

You can also use the conversion-service in a docker-compose setup. The following snippet is an example for a single container setup with docker-compose and the teamparallax/conversion-service.

version: "3"
services:
  conversion-service:
    image: teamparallax/conversion-service:latest
    env_file: ./.env
    ports:
      - 3000:3000
    restart: always

Running docker-compose up within the repository will start the container that runs the conversion-service image. For further information about container configuration see the docs at GitHub

Tag summary

Content type

Image

Digest

Size

415 MB

Last updated

over 4 years ago

docker pull teamparallax/conversion-service