Skip to content

Commit

Permalink
Changes for deployment with EBRAINS Rancher/Kubernetes service
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Aug 27, 2024
1 parent d3f7937 commit acd381a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
1 change: 0 additions & 1 deletion apps/deployment/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ COPY deployment/nginx-app.conf /etc/nginx/conf.d/default.conf
COPY --from=build /model-catalog/build /usr/share/nginx/html/model-catalog
COPY --from=build /curation-dashboard/build /usr/share/nginx/html/curation-dashboard
EXPOSE 80
EXPOSE 443
CMD ["nginx", "-g", "daemon off;"]
8 changes: 1 addition & 7 deletions apps/deployment/nginx-app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@


server {
listen 443 ssl;

# ssl on;
ssl_certificate /etc/letsencrypt/live/model-catalog.brainsimulation.eu/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/model-catalog.brainsimulation.eu/privkey.pem;

server_name model-catalog.brainsimulation.eu;
listen 80;

location / {
root /usr/share/nginx/html/model-catalog;
Expand Down
2 changes: 1 addition & 1 deletion apps/model_catalog/src/globals.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// NOTE: dummy data (in 'dev_data' directory) for DevMode is from v1 APIs; needs to be updated for v2 usage
export const DevMode = false; // TODO: change to false for production
export const baseUrl = "https://validation.brainsimulation.eu";
export const baseUrl = "https://model-validation-api.apps.tc.humanbrainproject.eu";
export const querySizeLimit = 1000000;
export const collaboratoryOrigin = "https://wiki.ebrains.eu";
export const hashChangedTopic = "/clb/community-app/hashchange";
Expand Down

0 comments on commit acd381a

Please sign in to comment.