We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FLATNOTES_PORT
1 parent 5b5369b commit 9a61006Copy full SHA for 9a61006
entrypoint.sh
@@ -1,7 +1,12 @@
1
#!/bin/sh
2
3
[ "$EXEC_TOOL" ] || EXEC_TOOL=gosu
4
-[ "$FLATNOTES_PORT" ] || FLATNOTES_PORT=8080
+
5
+if [ "$KUBERNETES_PORT" -a "$FLATNOTES_PORT" ]; then
6
+ echo "Warning: ignoring FLATNOTES_PORT=${FLATNOTES_PORT} on kubernetes"
7
+elif [ ! "$FLATNOTES_PORT" ]; then
8
+ FLATNOTES_PORT=8080
9
+fi
10
11
set -e
12
0 commit comments