Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grierson/flixtube
https://github.com/grierson/flixtube
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/grierson/flixtube
- Owner: grierson
- Created: 2021-12-21T19:11:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-22T12:02:02.000Z (over 1 year ago)
- Last Synced: 2024-03-22T07:51:13.030Z (9 months ago)
- Language: Clojure
- Size: 2.05 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: history/Dockerfile
Awesome Lists containing this project
README
# Flixtube
Bootstrapping microservices with docker and kubernetes and terraform in clj
## Setup
- `cp .env.example .env`
- `cd infra`
- `az login`
- `terraform init`
- `terraform apply`
- make a cup of tea
- `terraform output --raw az_storage_connection_string`
- Copy result into `.env` as `AZURE_STORAGE_CONNECTION_STRING` value
- `cd ..` (Back to root)
- `make up` (Runs Docker compose)
- When done - `terraform destroy`## Usage
- - Video storage
- - Video stream## Explaination
- `infra` - Create Azure blob storage and uploads videos
- `mongo-seed` - Create Monogo collection and adds record for video path
- `Video storage` - Azure gateway to fetch video
- `Video stream` - Stream video in brower
- `History` - Consume Video stream events to log what videos
have been watched and by who