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