Skip to content

Commit

Permalink
fix: respect a mapped dokku root when running dokku in a container
Browse files Browse the repository at this point in the history
Closes #235
  • Loading branch information
josegonzalez committed May 12, 2022
1 parent 3b6b422 commit 8b0b5a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion functions
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ letsencrypt_configure_and_get_dir() {
# store config settings
echo "--http.port :$acme_port $config" >"$config_dir/config"

echo "$config_dir"
# re-implement entire path to respect mapped DOKKU_ROOT when running in a container
echo "$DOKKU_HOST_ROOT/$app/letsencrypt/certs/$config_hash"
}

letsencrypt_check_email() {
Expand Down

0 comments on commit 8b0b5a0

Please sign in to comment.