From 18ee4eb0e4c4384ef63c846f6c27914a3a69999f Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 22 Feb 2022 18:12:34 +0300 Subject: [PATCH] owncast. data path configuration. --- owncast/.env.dist | 2 ++ owncast/docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/owncast/.env.dist b/owncast/.env.dist index 903d83d..1590c14 100644 --- a/owncast/.env.dist +++ b/owncast/.env.dist @@ -1,6 +1,8 @@ # https://hub.docker.com/r/gabekangas/owncast # https://owncast.online/quickstart/container/ +DATA_PATH=./data + EXT_HTTP_PORT=8080 EXT_RTMP_PORT=1935 diff --git a/owncast/docker-compose.yml b/owncast/docker-compose.yml index 91d2bbf..3041823 100644 --- a/owncast/docker-compose.yml +++ b/owncast/docker-compose.yml @@ -11,7 +11,7 @@ services: - "127.0.0.1:${EXT_HTTP_PORT}:8080/tcp" - "${EXT_RTMP_PORT}:1935/tcp" volumes: - - "./data:/app/data" + - "${DATA_PATH:-./data}:/app/data" env_file: .env restart: unless-stopped logging: