Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

NOISSUE - Align Environment Variables #233

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ MG_GOOGLE_REDIRECT_URL="http://localhost/oauth/callback/google"
MG_GOOGLE_STATE=
MG_UI_HASH_KEY=5jx4x2Qg9OUmzpP5dbveWQ
MG_UI_BLOCK_KEY=UtgZjr92jwRY6SPUndHXiyl9QY8qTUyZ
MG_UI_PATH_PREFIX=/ui
MG_UI_PATH_PREFIX=

## Postgres
MG_UI_DB_HOST=ui-db
Expand Down
20 changes: 10 additions & 10 deletions ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ The service is configured using the environment variables presented in the follo
| MG_GOOGLE_CLIENT_SECRET | Google client secret | "" |
| MG_GOOGLE_REDIRECT_URL | Google redirect URL | <http://localhost/oauth/callback/google> |
| MG_GOOGLE_STATE | Google state | "" |
| MG_UI_HASH_KEY | Secure cookie encoding key | "" |
| MG_UI_BLOCK_KEY | Secure cookie encrypting key | "" |
| MG_UI_HASH_KEY | Secure cookie encoding key | 5jx4x2Qg9OUmzpP5dbveWQ |
| MG_UI_BLOCK_KEY | Secure cookie encrypting key | UtgZjr92jwRY6SPUndHXiyl9QY8qTUyZ |
| MG_UI_PATH_PREFIX | URL path prefix | "" |

## Deployment
Expand Down Expand Up @@ -70,21 +70,21 @@ MG_BOOTSTRAP_URL="http://localhost:9013" \
MG_UI_INSTANCE_ID="" \
MG_UI_HOST_URL="http://localhost:9095" \
MG_UI_CONTENT_TYPE="application/senml+json" \
MG_UI_DB_HOST="localhost" \
MG_UI_DB_HOST=localhost \
MG_UI_DB_PORT=5432 \
MG_UI_DB_USER="magistrala-ui" \
MG_UI_DB_PASSWORD="magistrala-ui" \
MG_UI_DB_NAME="dashboards" \
MG_UI_DB_SSL_MODE="disable" \
MG_UI_DB_USER=magistrala-ui \
MG_UI_DB_PASSWORD=magistrala-ui \
MG_UI_DB_NAME=dashboards \
MG_UI_DB_SSL_MODE=disable \
MG_UI_DB_SSL_CERT="" \
MG_UI_DB_SSL_KEY="" \
MG_UI_DB_SSL_ROOT_CERT="" \
MG_GOOGLE_CLIENT_ID="" \
MG_GOOGLE_CLIENT_SECRET="" \
MG_GOOGLE_REDIRECT_URL="http://localhost/oauth/callback/google" \
MG_GOOGLE_STATE="" \
MG_UI_HASH_KEY=""\
MG_UI_BLOCK_KEY=""\
MG_UI_PATH_PREFIX=""\
MG_UI_HASH_KEY="5jx4x2Qg9OUmzpP5dbveWQ" \
MG_UI_BLOCK_KEY="UtgZjr92jwRY6SPUndHXiyl9QY8qTUyZ" \
MG_UI_PATH_PREFIX="" \
$GOBIN/magistrala-ui
```
Loading