Closed tschaffter closed 9 months ago
Commit ID:
ubuntu@openchallenges-preview-instance:~/sage-monorepo$ git rev-parse HEAD
0c441eba0bcb8ee15ec80a5c552c570fd13ccd9d
App config excerpt:
APP_VERSION="1.2.0-alpha"
DATA_UPDATED_ON="2023-09-14"
Docker images:
ubuntu@openchallenges-preview-instance:~/sage-monorepo$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/sage-bionetworks/openchallenges-image-service edge cee174febaf2 2 weeks ago 322MB
ghcr.io/sage-bionetworks/openchallenges-organization-service edge f65379d6496d 2 weeks ago 355MB
ghcr.io/sage-bionetworks/openchallenges-challenge-service edge 4ace04285f6c 2 weeks ago 357MB
ghcr.io/sage-bionetworks/openchallenges-app edge accaacfe5b9c 2 weeks ago 28.1MB
ghcr.io/sage-bionetworks/openchallenges-api-gateway edge 3d4efa0d2646 2 weeks ago 322MB
ghcr.io/sage-bionetworks/openchallenges-config-server edge 50974331954f 2 months ago 307MB
ghcr.io/sage-bionetworks/openchallenges-apex edge 8da2b9c4c593 2 months ago 42.7MB
ghcr.io/sage-bionetworks/openchallenges-vault edge 4e076959741f 2 months ago 230MB
ghcr.io/sage-bionetworks/openchallenges-elasticsearch edge ce348c2d1b93 2 months ago 622MB
ghcr.io/sage-bionetworks/openchallenges-api-docs edge 58bd040f9b64 2 months ago 33.6MB
ghcr.io/sage-bionetworks/openchallenges-mariadb edge 7c8bae4d4f04 2 months ago 384MB
ghcr.io/sage-bionetworks/openchallenges-service-registry edge 2fa8fbd37f93 2 months ago 321MB
ghcr.io/sage-bionetworks/openchallenges-zipkin edge 9eb6d33828b2 4 months ago 157MB
ghcr.io/sage-bionetworks/openchallenges-thumbor edge 92aa7db974ed 5 months ago 606MB
Pull current commit on main
git pull
Update app config in apps/openchallenges/app/.env
.
Note Modified
apps/openchallenges/challenge-service/.env
andapps/openchallenges/organization-service/.env
to allow loading the data from CSV files.Note Modified
apps/openchallenges/app/.env
to include the new options related to SSR and CSR API URL.
Follow these instructions to authenticate with GHCR.
Remove the containers:
docker rm -f $(docker ps -aq)
Remove the images:
docker rmi -f $(docker images -aq)
Pull the edge images and start the stack:
OPENCHALLENGES_VERSION=edge ./docker/openchallenges/serve-detach.sh openchallenges-apex
Note Elasticsearch nodes may fail to start on first try. In that case, run the command again until all the containers are healthy.
Commit ID:
ubuntu@openchallenges-preview-instance:~/sage-monorepo$ git rev-parse HEAD
2db59290d938a79033de1f05280e340d0aab40b7
App config excerpt:
APP_VERSION="1.3.0-beta"
CSR_API_URL="http://localhost:8082/api/v1"
DATA_UPDATED_ON="2023-10-02"
ENVIRONMENT="production"
GOOGLE_TAG_MANAGER_ID="GTM-NBR5XD8C"
SSR_API_URL="http://openchallenges-api-gateway:8082/api/v1"
Docker images:
ubuntu@openchallenges-preview-instance:~/sage-monorepo$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/sage-bionetworks/openchallenges-app edge 7e381a0c5e47 3 hours ago 197MB
ghcr.io/sage-bionetworks/openchallenges-image-service edge e694f7c8b106 3 hours ago 322MB
ghcr.io/sage-bionetworks/openchallenges-organization-service edge f4e8f470316a 3 hours ago 355MB
ghcr.io/sage-bionetworks/openchallenges-challenge-service edge 1687dc25c58c 3 hours ago 357MB
ghcr.io/sage-bionetworks/openchallenges-api-gateway edge 9d7a017b4b6a 3 hours ago 322MB
ghcr.io/sage-bionetworks/openchallenges-config-server edge 50974331954f 2 months ago 307MB
ghcr.io/sage-bionetworks/openchallenges-apex edge 8da2b9c4c593 2 months ago 42.7MB
ghcr.io/sage-bionetworks/openchallenges-vault edge 4e076959741f 2 months ago 230MB
ghcr.io/sage-bionetworks/openchallenges-elasticsearch edge ce348c2d1b93 2 months ago 622MB
ghcr.io/sage-bionetworks/openchallenges-api-docs edge 58bd040f9b64 2 months ago 33.6MB
ghcr.io/sage-bionetworks/openchallenges-mariadb edge 7c8bae4d4f04 2 months ago 384MB
ghcr.io/sage-bionetworks/openchallenges-service-registry edge 2fa8fbd37f93 2 months ago 321MB
ghcr.io/sage-bionetworks/openchallenges-zipkin edge 9eb6d33828b2 4 months ago 157MB
ghcr.io/sage-bionetworks/openchallenges-thumbor edge 92aa7db974ed 5 months ago 606MB
I forgot to update the CSR_API_URL
so that it uses the domain name openchallenges.io
. The value of SSR_API_URL
can stay as is because the request can be made locally.
The new config file:
$ cat apps/openchallenges/app/.env
APP_VERSION="1.3.0-beta"
CSR_API_URL="https://openchallenges.io/api/v1"
DATA_UPDATED_ON="2023-10-02"
ENVIRONMENT="production"
GOOGLE_TAG_MANAGER_ID="GTM-NBR5XD8C"
SSR_API_URL="http://openchallenges-api-gateway:8082/api/v1"
What product(s) is this documentation issue for?
OpenChallenges
Documentation issue
Description
No response
Is there a specific documentation page you are reporting?
No response
Anything else?
No response
Code of Conduct