Skip to content

Commit 3c38c6e

Browse files
committed
Why the split? And don't quote bools and int
1 parent 6d7e2b1 commit 3c38c6e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
__pycache__/
12
recordings/
3+
*.pyc
24
.env
5+
config.py
36
docker-compose.yml

entrypoint.sh

+2-6
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@ quality = "${QUALITY}"
1414
client_id = "${CLIENT_ID}"
1515
client_secret = "${CLIENT_SECRET}"
1616
auth_token = "${AUTH_TOKEN}"
17-
EOF
18-
19-
# Use optional variables, if present
20-
cat <<EOF >> /opt/config.py
21-
disable_ffmpeg = "${DISABLE_FFMPEG:-False}"
22-
refresh = "${REFRESH:-15}"
17+
disable_ffmpeg = ${DISABLE_FFMPEG:-False}
18+
refresh = ${REFRESH:-15}
2319
EOF
2420

2521
# Hand off to the CMD

0 commit comments

Comments
 (0)