Morphos

Link to App

Link to GitHub or Website

Today we are forced to rely on third party services to convert files to other formats. This is a serious threat to our privacy, if we use such services to convert files with highly sensitive personal data. It can be used against us, sooner or later. Morphos server aims to solve the problem mentioned above, by providing a self-hosted server to convert files privately. The project provides an user-friendly web UI. For now, Morphos only supports images. Documents will be added soon.

This app is hosted on Cocoa as a docker container

The compose file is made up of 2 containers,

  • Morphos (For editing files)

  • Docker-TC (For limiting bandwidth to Morphos)

https://github.com/trentnbauer/agg/blob/2129514009f0c9e93854ce54fef157ce834fcbb3/docker-compose/morphos.yml
version: '3.7'
services:
  app:
    image: ghcr.io/danvergara/morphos-server:0.1.1
    ports:
      - "${PORT:-8080}:8080"
    volumes:
      - /tmp:/tmp
    restart: unless-stopped
    networks:
      - network
    labels:
      com.docker-tc.enabled: "1"
      com.docker-tc.limit: "15mbps"  # Setting the bandwidth limit to 25mbit
      # Additional labels for delay, loss, duplication, and corruption can be added if needed

  traffic-control:
    image: lukaszlach/docker-tc:stable
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    networks:
      - network
    restart: on-failure
    cap_add:
      - NET_ADMIN
    command: ["--interface", "${NETADAPT:-ens18}"]

networks:
  network:

Instance 1

Port
Purpose

8877

WebUI

Host Volume
Container Volume
Purpose

/tmp

/tmp

temp storage of files

Last updated

Was this helpful?