From 1b1f61d5bf4eed92519e3f5a4eedc8e6565d5c51 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 22 Feb 2022 18:06:00 +0300 Subject: [PATCH] owncast. draft. --- README.md | 1 + owncast/.env.dist | 8 ++++++++ owncast/data/.gitignore | 2 ++ owncast/docker-compose.yml | 21 +++++++++++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 owncast/.env.dist create mode 100644 owncast/data/.gitignore create mode 100644 owncast/docker-compose.yml diff --git a/README.md b/README.md index 0a76d78..e494dc5 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Not every stack is tested to fully work. - [ ] NextCloud - [x] Open Streaming Platform - [x] OpenVPN +- [ ] [Owncast](https://owncast.online/) - [x] Portainer - [ ] Postgres Common (prototype state) - [x] Proxy MTProto diff --git a/owncast/.env.dist b/owncast/.env.dist new file mode 100644 index 0000000..903d83d --- /dev/null +++ b/owncast/.env.dist @@ -0,0 +1,8 @@ +# https://hub.docker.com/r/gabekangas/owncast +# https://owncast.online/quickstart/container/ + +EXT_HTTP_PORT=8080 +EXT_RTMP_PORT=1935 + +LOG_MAX_SIZE=5m +LOG_MAX_FILE=5 \ No newline at end of file diff --git a/owncast/data/.gitignore b/owncast/data/.gitignore new file mode 100644 index 0000000..a68d087 --- /dev/null +++ b/owncast/data/.gitignore @@ -0,0 +1,2 @@ +/* +!/.gitignore diff --git a/owncast/docker-compose.yml b/owncast/docker-compose.yml new file mode 100644 index 0000000..91d2bbf --- /dev/null +++ b/owncast/docker-compose.yml @@ -0,0 +1,21 @@ +# https://hub.docker.com/r/gabekangas/owncast +# https://owncast.online/quickstart/container/ + +version: '3.7' + +services: + owncast: + image: gabekangas/owncast + container_name: owncast + ports: + - "127.0.0.1:${EXT_HTTP_PORT}:8080/tcp" + - "${EXT_RTMP_PORT}:1935/tcp" + volumes: + - "./data:/app/data" + env_file: .env + restart: unless-stopped + logging: + driver: "json-file" + options: + max-size: "${LOG_MAX_SIZE:-5m}" + max-file: "${LOG_MAX_FILE:-5}"