Another attempt at #29550, which was reverted. Fallback is not happening if cert provisioning fails _despite_ having the correct header. But with the changes in this PR, since we'll listen on `:80`, fallback _will_ happen when cert provisioning fails due to incorrect domain configuration. We're also adding [Hurl](https://hurl.dev) based tests. They're not run in any CI yet. That'll come in soon.
17 lines
343 B
Bash
Executable File
17 lines
343 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
|
|
loc="$(dirname "$0")"
|
|
docker build -f "$loc/Dockerfile" --tag ar "$loc/.."
|
|
docker run \
|
|
--name ar \
|
|
--rm \
|
|
-it \
|
|
--hostname ar \
|
|
-e OPEN_SHELL=${OPEN_SHELL-} \
|
|
--volume "$loc/../fs/opt/appsmith/caddy-reconfigure.mjs:/caddy-reconfigure.mjs:ro" \
|
|
--volume "$loc:/code:ro" \
|
|
ar
|