mirror of
https://github.com/steedos/steedos-platform
synced 2024-11-22 00:01:52 +00:00
upgrade template @2.1.74
This commit is contained in:
parent
8f72387adf
commit
ee62091811
@ -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"]
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user