mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 02:18:50 +00:00
Don't accidentally swallow script errors (#1052)
* Don't accidentally swallow script errors * add docs
This commit is contained in:
@@ -25,6 +25,8 @@ services:
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
# See Caddy's documentation for customizing this line
|
||||
# https://caddyserver.com/docs/quick-starts/reverse-proxy
|
||||
command: caddy reverse-proxy --to firezone:13000 --from ${EXTERNAL_URL:?err} ${CADDY_OPTS}
|
||||
deploy:
|
||||
<<: *default-deploy
|
||||
|
||||
@@ -13,13 +13,14 @@ dockerCheck () {
|
||||
dc="docker compose"
|
||||
fi
|
||||
|
||||
|
||||
set +e
|
||||
$dc version | grep -q "v2"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error: Automatic installation is only supported with Docker Compose version 2 or higher."
|
||||
echo "Please upgrade Docker Compose or use the manual installation method: https://docs.firezone.dev/deploy/docker"
|
||||
exit 1
|
||||
fi
|
||||
set -e
|
||||
}
|
||||
|
||||
curlCheck () { if ! type curl > /dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user