owncast. data path configuration.

This commit is contained in:
Alexey Skobkin 2022-02-22 18:12:34 +03:00
parent 1b1f61d5bf
commit 18ee4eb0e4
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,8 @@
# https://hub.docker.com/r/gabekangas/owncast # https://hub.docker.com/r/gabekangas/owncast
# https://owncast.online/quickstart/container/ # https://owncast.online/quickstart/container/
DATA_PATH=./data
EXT_HTTP_PORT=8080 EXT_HTTP_PORT=8080
EXT_RTMP_PORT=1935 EXT_RTMP_PORT=1935

View file

@ -11,7 +11,7 @@ services:
- "127.0.0.1:${EXT_HTTP_PORT}:8080/tcp" - "127.0.0.1:${EXT_HTTP_PORT}:8080/tcp"
- "${EXT_RTMP_PORT}:1935/tcp" - "${EXT_RTMP_PORT}:1935/tcp"
volumes: volumes:
- "./data:/app/data" - "${DATA_PATH:-./data}:/app/data"
env_file: .env env_file: .env
restart: unless-stopped restart: unless-stopped
logging: logging: