Trying to fix bug with space value for REGION
This commit is contained in:
@@ -27,7 +27,7 @@ HEALTHCHECK --interval=10m --timeout=5s --start-period=10s --retries=1 \
|
|||||||
[ "$VPNCITY" != "$CITY" ] || [ "$VPNORGANIZATION" != "$ORGANIZATION" ] || exit 1
|
[ "$VPNCITY" != "$CITY" ] || [ "$VPNORGANIZATION" != "$ORGANIZATION" ] || exit 1
|
||||||
ENV ENCRYPTION=strong \
|
ENV ENCRYPTION=strong \
|
||||||
PROTOCOL=tcp \
|
PROTOCOL=tcp \
|
||||||
REGION=Switzerland
|
REGION=Germany
|
||||||
COPY entrypoint.sh /
|
COPY entrypoint.sh /
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ENTRYPOINT /entrypoint.sh
|
ENTRYPOINT /entrypoint.sh
|
||||||
|
|||||||
@@ -10,5 +10,5 @@ printf "DONE\nStarting Unbound to connect to Cloudflare DNS 1.1.1.1 at its TLS e
|
|||||||
unbound
|
unbound
|
||||||
printf "DONE\nStarting OpenVPN using $PROTOCOL with $ENCRYPTION encryption\n"
|
printf "DONE\nStarting OpenVPN using $PROTOCOL with $ENCRYPTION encryption\n"
|
||||||
cd /openvpn-$PROTOCOL-$ENCRYPTION
|
cd /openvpn-$PROTOCOL-$ENCRYPTION
|
||||||
openvpn --config $REGION.ovpn --auth-user-pass /auth.conf
|
openvpn --config "$REGION.ovpn" --auth-user-pass /auth.conf
|
||||||
printf "\n\nExiting..."
|
printf "\n\nExiting..."
|
||||||
|
|||||||
Reference in New Issue
Block a user