diff --git a/.vscode/launch.json b/.vscode/launch.json index c5738be2..f2a2c081 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -3,7 +3,7 @@ "configurations": [ { "name": "Sync SmartAPI", - "type": "node", + "type": "pwa-node", "preLaunchTask": "build", "runtimeArgs": [ "run", @@ -24,7 +24,7 @@ }, { "name": "Sync SmartAPI (with overrides)", - "type": "node", + "type": "pwa-node", "preLaunchTask": "build", "runtimeArgs": [ "run", @@ -46,7 +46,7 @@ }, { "name": "Build w/o Cache", - "type": "node", + "type": "pwa-node", "runtimeArgs": [ "run", "debug" @@ -65,7 +65,7 @@ }, { "name": "Build w/o Cache; No Threading", - "type": "node", + "type": "pwa-node", "runtimeArgs": [ "run", "debug" @@ -87,7 +87,7 @@ }, { "name": "Build w/ Cache", - "type": "node", + "type": "pwa-node", "preLaunchTask": "start redis", "runtimeArgs": [ "run", @@ -112,7 +112,7 @@ }, { "name": "Build w/ Cache (connect to existing)", - "type": "node", + "type": "pwa-node", "runtimeArgs": [ "run", "debug" @@ -137,7 +137,7 @@ }, { "name": "Build w/ Cache Cluster", - "type": "node", + "type": "pwa-node", "preLaunchTask": "start redis cluster", "runtimeArgs": [ "run", @@ -163,7 +163,7 @@ }, { "name": "Build w/ Cache Cluster (connect to existing)", - "type": "node", + "type": "pwa-node", "runtimeArgs": [ "run", "debug" diff --git a/Dockerfile b/Dockerfile index ce0cbf31..22be868b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,8 @@ USER root # clean up dependecies from the "build-deps" virtual package RUN apk del build-deps USER node +RUN pm2 install pm2-logrotate +RUN pm2 set pm2-logrotate:max_size 1G EXPOSE 3000 ENV NODE_ENV production ENV DEBUG ${debug:+biomedical-id-resolver,bte*} diff --git a/prod_revisions.txt b/prod_revisions.txt index ccc51978..f995c1f0 100644 --- a/prod_revisions.txt +++ b/prod_revisions.txt @@ -2,7 +2,7 @@ > @biothings-explorer/bte-trapi@3.0.0 get_rev /Users/jcallaghan/Projects/bte-main > ./scripts/get_rev.sh -# Generated from "pnpm run get_rev" on Thu Mar 7 13:42:12 EST 2024 +# Generated from "pnpm run get_rev" on Fri Mar 8 13:09:38 EST 2024 https://github.com/biothings/bte-server.git 0b3076f 0b3076fa92a1b69798871c645b8c80358ccc5810 https://github.com/biothings/api-respone-transform.js.git 4fe3dec 4fe3dec691e5074ff5df108ab3a5439e86e83901 https://github.com/biothings/call-apis.js.git 547094e 547094e0bdad7cb479fd77a92b98ea14322ada28 @@ -10,5 +10,5 @@ https://github.com/biothings/smartapi-kg.js.git 7386b43 7386b43a7e4ff4e270a4659f https://github.com/biothings/bte_trapi_query_graph_handler.git 559de80 559de8083f28463705de3f559d680aac8dad11d0 https://github.com/biothings/node-expansion.git e4bb786 e4bb7865135ffdf8b4fc30b8960888c27d29c337 https://github.com/biothings/biolink-model.js.git ced082c ced082c25747cac03a362116574c7587152c3516 -https://github.com/biothings/biomedical_id_resolver.js.git 9918b20 9918b20821ae6e2e519741510467ae53c08165a9 +https://github.com/biothings/biomedical_id_resolver.js.git e375b08 e375b08f9adea3c8afbdecc91009518d930acdde https://github.com/biothings/bte-utils.git 4f69547 4f695476e72a7844f8790030406f862411f53d89