Update environment variable name for output directory

This commit is contained in:
Dmitrii Andreev
2024-01-07 15:38:11 +03:00
parent eddb4edbd9
commit b570f4ded1
2 changed files with 1 additions and 4 deletions

View File

@@ -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" ]

View File

@@ -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