upgrade template @2.1.74

This commit is contained in:
github-actions 2022-01-18 04:18:40 +00:00
parent 8f72387adf
commit ee62091811
3 changed files with 12 additions and 6 deletions

View File

@ -3,6 +3,7 @@ FROM node:12.22.7
WORKDIR /app
ADD .steedos ./.steedos/
ADD .scripts ./.scripts/
ADD services ./services/
ADD steedos-app ./steedos-app/
# ADD steedos-packages ./steedos-packages/
@ -17,4 +18,4 @@ RUN yarn
ENV NODE_ENV=production
CMD ["yarn", "start"]
CMD ["yarn", "start"]

View File

@ -40,6 +40,7 @@
"homepage": "https://www.steedos.com",
"resolutions": {
"typeorm": "0.2.28",
"**/chalk": "3.0.0",
"**/lodash": "^4.17.15",
"**/handlebars": "^4.3.0",
"**/debug": "^3.1.0",

View File

@ -1,4 +1,4 @@
image: steedos/gitpod-workspace-base:latest
image: ecr.aws.steedos.cn/dockerhub/steedos/gitpod-workspace-base:latest
# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/
ports:
@ -17,15 +17,19 @@ ports:
visibility: public
# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
tasks:
- init: sh ./.scripts/setup.sh
- name: MongoDB
init: sh ./.scripts/setup.sh
command: |
mongod --replSet rs0 --dbpath /workspace/mongodb/data/db
- command: |
gp await-port 27017
mongo steedos --eval "rs.initiate()"
- command: |
exit
- name: Redis
command: |
redis-server --save "" --appendonly no --client-output-buffer-limit replica 0 0 0 --client-output-buffer-limit pubsub 0 0 0 --client-output-buffer-limit slave 0 0 0
- init: |
- name: Steedos
init: |
yarn install
command: |
gp await-port 27017
@ -38,4 +42,4 @@ vscode:
- redhat.vscode-yaml
- steedos.steedosdx-vscode
- steedos.steedosdx-vscode-core
- eamodio.gitlens
- ms-ceintl.vscode-language-pack-zh-hans