... | ... | @@ -285,7 +285,7 @@ Please check https://gitlab.croptrust.org/grin-global/grin-global-ui/-/releases |
|
|
|
|
|
## Running GGCE Web
|
|
|
|
|
|
**GGCE Web** is available as a Docker image `dockerhub.croptrust.org/grin-global/grin-global-ui/grin-global-web:latest`. It works best with the latest GGCE Server image `dockerhub.croptrust.org/grin-global/grin-global-server:latest`.
|
|
|
**GGCE Web** is available as a Docker image `dockerhub.croptrust.org/grin-global/grin-global-ui/gg-ce-web:latest`. It works best with the latest GGCE Server image `dockerhub.croptrust.org/grin-global/grin-global-server:latest`.
|
|
|
|
|
|
|
|
|
The **GGCE Web** container requires a few configuration options. The options are provided as environment variables. You need to note:
|
... | ... | @@ -305,7 +305,7 @@ docker run --rm --name 'grin-global-web' \ |
|
|
-p 3000:3000 \
|
|
|
-e "API_URL=http://GGCE-SERVER:8081" \
|
|
|
-e "ORIGIN=http://grin-global-web:3000" \
|
|
|
dockerhub.croptrust.org/grin-global/grin-global-ui/grin-global-web:latest
|
|
|
dockerhub.croptrust.org/grin-global/grin-global-ui/gg-ce-web:latest
|
|
|
```
|
|
|
|
|
|
**Note:** After hitting **Enter** You should immediately seeing log messages on the console. If not, then your command is not valid. Hit `Ctrl + C` and retry.
|
... | ... | @@ -411,7 +411,7 @@ Relevant `gg-ce-web` configuration is documented at https://gitlab.croptrust.org |
|
|
|
|
|
```yaml
|
|
|
ggce-ui:
|
|
|
image: dockerhub.croptrust.org/grin-global/grin-global-ui/grin-global-web:latest
|
|
|
image: dockerhub.croptrust.org/grin-global/grin-global-ui/gg-ce-web:latest
|
|
|
environment:
|
|
|
- API_URL=http://ggceserver.mydomain
|
|
|
- ORIGIN=http://ggceweb.mydomain
|
... | ... | |