-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Repo was renamed from `torrust-index-frontend` to `torrust-index-gui`. ``` TORRUST_IDX_FRON_RUN_AS_USER -> TORRUST_INDEX_GUI_RUN_AS_USER TORRUST_IDX_FRON_USER_UID -> TORRUST_INDEX_GUI_USER_UID TORRUST_IDX_FRON_API_BASE_URL -> TORRUST_INDEX_GUI_API_BASE_URL ``` This commit renames anv vars to follow repo renaming. Besides, we are not using the abbreviation `IDX` for `INDEX` anymore.
- Loading branch information
1 parent
ac1b7dc
commit dd1167e
Showing
8 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#!/bin/bash | ||
|
||
TORRUST_IDX_FRON_USER_UID=${TORRUST_IDX_FRON_USER_UID:-1001} | ||
TORRUST_IDX_FRON_RUN_AS_USER=${TORRUST_IDX_FRON_RUN_AS_USER:-appuser} | ||
TORRUST_IDX_FRON_API_BASE_URL=${TORRUST_IDX_FRON_API_BASE_URL:-http://localhost:3001/v1} | ||
TORRUST_INDEX_GUI_USER_UID=${TORRUST_INDEX_GUI_USER_UID:-1001} | ||
TORRUST_INDEX_GUI_RUN_AS_USER=${TORRUST_INDEX_GUI_RUN_AS_USER:-appuser} | ||
TORRUST_INDEX_GUI_API_BASE_URL=${TORRUST_INDEX_GUI_API_BASE_URL:-http://localhost:3001/v1} | ||
|
||
echo "Building docker image ..." | ||
echo "TORRUST_IDX_FRON_USER_UID: $TORRUST_IDX_FRON_USER_UID" | ||
echo "TORRUST_IDX_FRON_RUN_AS_USER: $TORRUST_IDX_FRON_RUN_AS_USER" | ||
echo "TORRUST_IDX_FRON_API_BASE_URL: $TORRUST_IDX_FRON_API_BASE_URL" | ||
echo "TORRUST_INDEX_GUI_USER_UID: $TORRUST_INDEX_GUI_USER_UID" | ||
echo "TORRUST_INDEX_GUI_RUN_AS_USER: $TORRUST_INDEX_GUI_RUN_AS_USER" | ||
echo "TORRUST_INDEX_GUI_API_BASE_URL: $TORRUST_INDEX_GUI_API_BASE_URL" | ||
|
||
docker build \ | ||
--target development \ | ||
--build-arg UID="$TORRUST_IDX_FRON_USER_UID" \ | ||
--build-arg RUN_AS_USER="$TORRUST_IDX_FRON_RUN_AS_USER" \ | ||
--build-arg API_BASE_URL="$TORRUST_IDX_FRON_API_BASE_URL" \ | ||
--build-arg UID="$TORRUST_INDEX_GUI_USER_UID" \ | ||
--build-arg RUN_AS_USER="$TORRUST_INDEX_GUI_RUN_AS_USER" \ | ||
--build-arg API_BASE_URL="$TORRUST_INDEX_GUI_API_BASE_URL" \ | ||
-t torrust-index-frontend . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
#!/bin/bash | ||
|
||
TORRUST_IDX_FRON_USER_UID=${TORRUST_IDX_FRON_USER_UID:-1001} | ||
TORRUST_IDX_FRON_RUN_AS_USER=${TORRUST_IDX_FRON_RUN_AS_USER:-appuser} | ||
TORRUST_IDX_FRON_API_BASE_URL=${TORRUST_IDX_FRON_API_BASE_URL:-http://localhost:3001/v1} | ||
TORRUST_INDEX_GUI_USER_UID=${TORRUST_INDEX_GUI_USER_UID:-1001} | ||
TORRUST_INDEX_GUI_RUN_AS_USER=${TORRUST_INDEX_GUI_RUN_AS_USER:-appuser} | ||
TORRUST_INDEX_GUI_API_BASE_URL=${TORRUST_INDEX_GUI_API_BASE_URL:-http://localhost:3001/v1} | ||
|
||
echo "Building docker image ..." | ||
echo "TORRUST_IDX_FRON_USER_UID: $TORRUST_IDX_FRON_USER_UID" | ||
echo "TORRUST_IDX_FRON_RUN_AS_USER: $TORRUST_IDX_FRON_RUN_AS_USER" | ||
echo "TORRUST_IDX_FRON_API_BASE_URL: $TORRUST_IDX_FRON_API_BASE_URL" | ||
echo "TORRUST_INDEX_GUI_USER_UID: $TORRUST_INDEX_GUI_USER_UID" | ||
echo "TORRUST_INDEX_GUI_RUN_AS_USER: $TORRUST_INDEX_GUI_RUN_AS_USER" | ||
echo "TORRUST_INDEX_GUI_API_BASE_URL: $TORRUST_INDEX_GUI_API_BASE_URL" | ||
|
||
docker build \ | ||
--build-arg UID="$TORRUST_IDX_FRON_USER_UID" \ | ||
--build-arg RUN_AS_USER="$TORRUST_IDX_FRON_RUN_AS_USER" \ | ||
--build-arg API_BASE_URL="$TORRUST_IDX_FRON_API_BASE_URL" \ | ||
--build-arg UID="$TORRUST_INDEX_GUI_USER_UID" \ | ||
--build-arg RUN_AS_USER="$TORRUST_INDEX_GUI_RUN_AS_USER" \ | ||
--build-arg API_BASE_URL="$TORRUST_INDEX_GUI_API_BASE_URL" \ | ||
-t torrust-index-frontend . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/bin/bash | ||
|
||
TORRUST_IDX_FRON_USER_UID=${TORRUST_IDX_FRON_USER_UID:-1000} | ||
TORRUST_INDEX_GUI_USER_UID=${TORRUST_INDEX_GUI_USER_UID:-1000} | ||
|
||
docker run -it \ | ||
--user="$TORRUST_IDX_FRON_USER_UID" \ | ||
--user="$TORRUST_INDEX_GUI_USER_UID" \ | ||
--publish 3000:3000/tcp \ | ||
--volume "$(pwd)":"/app" \ | ||
torrust-index-frontend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/bin/bash | ||
|
||
TORRUST_IDX_FRON_USER_UID=${TORRUST_IDX_FRON_USER_UID:-1001} | ||
TORRUST_INDEX_GUI_USER_UID=${TORRUST_INDEX_GUI_USER_UID:-1001} | ||
|
||
docker run -it \ | ||
--user="$TORRUST_IDX_FRON_USER_UID" \ | ||
--user="$TORRUST_INDEX_GUI_USER_UID" \ | ||
--publish 3000:3000/tcp \ | ||
torrust-index-frontend |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.