robmazan / coffeetable

High-performance media file sharing platform based on OpenResty.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coffeetable

Coffeetable is a high-performance media file sharing platform based on OpenResty.

See more details in the Solution Architecture Document.

Deployment

The repository contains a docker-compose.yaml which can be used as a blueprint for deploying the application.

Set up for local development

As SSL is used for local development too, first of all, you need to add all .crt files from the .docker/certs directory to your trusted root certification authorities.

Next, you need to add the following lines to your hosts file so your computer can resolve these hostnames:

127.0.0.1 coffeetable.app
127.0.0.1 auth.coffeetable.app
127.0.0.1 media.coffeetable.app
127.0.0.1 media-api

Now you can run the stack:

$ docker-compose up -d

Then you can go to https://coffeetable.app, and log in. There are two predefined users:

  • uploader (password: uploader)
  • viewer (password: viewer)

About

High-performance media file sharing platform based on OpenResty.

License:The Unlicense


Languages

Language:TypeScript 41.0%Language:Lua 21.6%Language:Shell 14.7%Language:HTML 10.7%Language:Dockerfile 6.2%Language:CSS 5.8%