Barebones open-source implementation of a media server written in express.
This media server's only functionality is to serve files quickly & natively. Allowing easy embedding on services like discord.
You need to make a folder called media
in the root project directory.
A sample compose file is provided:
version: '3.4'
services:
media-server:
container_name: media-server
image: hashcollision/media-server
# environment:
# PORT: 5530 #Optional: use to change the server port.
ports:
- 5530:5530 #Make sure this matches the port you're using.
volumes:
- ./media:/usr/src/app/media #Change ./media to match the folder you'll use to store media.
Instructions for Linux are provided: