From b570f4ded15d24a18e1dc175cb595f411080cc24 Mon Sep 17 00:00:00 2001 From: Dmitrii Andreev Date: Sun, 7 Jan 2024 15:38:11 +0300 Subject: [PATCH] Update environment variable name for output directory --- Dockerfile | 3 --- docker-compose.yml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6457c5f..1ff28d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,5 @@ RUN pip install --no-cache-dir -r requirements.txt # Make port 8080 available to the world outside this container EXPOSE 8080 -# Define environment variable for record directory -ENV RECORD_DIRECTORY=/records - # Run main.py when the container launches CMD [ "python", "./src/main.py" ] diff --git a/docker-compose.yml b/docker-compose.yml index a63df8a..bee35b2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: environment: - STREAM_URL=http://example.com/stream - CHECK_INTERVAL=60 - - RECORD_DIRECTORY=/records + - OUTPUT_DIRECTORY=/records - CONNECT_TIMEOUT=10 - FIRST_BYTE_TIMEOUT=30 - WEB_SERVER_PORT=8080