s/GW_API/GW_IP/
This commit is contained in:
parent
6821e6f78d
commit
9143ddac9e
@ -1,3 +1,3 @@
|
|||||||
PB_APIKEY=xxxxxxxxx
|
PB_APIKEY=xxxxxxxxx
|
||||||
PIN=0000
|
PIN=0000
|
||||||
GW_API=192.168.1.1
|
GW_IP=192.168.1.1
|
||||||
|
|||||||
@ -16,6 +16,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- "PB_APIKEY"
|
- "PB_APIKEY"
|
||||||
- "PIN"
|
- "PIN"
|
||||||
- "GW_API"
|
- "GW_IP"
|
||||||
security_opt:
|
security_opt:
|
||||||
- "no-new-privileges"
|
- "no-new-privileges"
|
||||||
|
|||||||
@ -12,9 +12,9 @@ then
|
|||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${GW_API}" ]]
|
if [[ -z "${GW_IP}" ]]
|
||||||
then
|
then
|
||||||
echo 'Please define the env var GW_API, exit' >&2
|
echo 'Please define the env var GW_IP, exit' >&2
|
||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user