Skip to content

Commit

Permalink
export variables in entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed Mar 17, 2022
1 parent ca8a975 commit 0b426fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Source docker-entrypoint.sh from Nginx image after setting environment
# variables with default values if not set

API_HTTP="${API_HTTP:-http://localhost:8000}"
PUBLIC_PATH="${PUBLIC_PATH:-/}"
export API_HTTP="${API_HTTP:-http://localhost:8000}"
export PUBLIC_PATH="${PUBLIC_PATH:-/}"

echo + "API_HTTP=${API_HTTP}"
echo + "PUBLIC_PATH=${PUBLIC_PATH}"
Expand Down

0 comments on commit 0b426fd

Please sign in to comment.