Skip to content

Commit

Permalink
chore: add admin-next and union typescript version
Browse files Browse the repository at this point in the history
override all typescript version with v4.9.4
because its too large
  • Loading branch information
moonrailgun committed May 23, 2023
1 parent 86d945e commit c2c51ca
Show file tree
Hide file tree
Showing 4 changed files with 222 additions and 343 deletions.
20 changes: 20 additions & 0 deletions docker/admin-next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: "3.3"

services:
# 后台应用
tailchat-admin-next:
build:
context: ../
image: tailchat
restart: unless-stopped
env_file: docker-compose.env
depends_on:
- mongo
- redis
labels:
- "traefik.enable=true"
- "traefik.http.routers.admin-next.rule=PathPrefix(`/admin`)"
- "traefik.http.services.admin-next.loadbalancer.server.port=3000"
networks:
- internal
command: pnpm start:admin-next
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start:service": "cd server && pnpm start:service",
"start:admin": "cd server/admin && pnpm start",
"start:admin-next": "cd server/admin-next && pnpm start",
"build": "concurrently npm:build:web npm:build:server npm:build:admin && cp -r client/web/dist/* server/dist/public && cp -r client/web/dist/* server/dist/public",
"build": "concurrently npm:build:web npm:build:server npm:build:admin npm:build:admin-next && cp -r client/web/dist/* server/dist/public && cp -r client/web/dist/* server/dist/public",
"build:web": "cd client/web && pnpm build",
"build:server": "cd server && pnpm build && echo \"Install server side plugin:\" && pnpm run plugin:install com.msgbyte.tasks com.msgbyte.linkmeta com.msgbyte.github com.msgbyte.simplenotify com.msgbyte.topic com.msgbyte.agora com.msgbyte.wxpusher com.msgbyte.welcome && mkdir -p ./dist/public && cp -r ./public/plugins ./dist/public && cp ./public/registry-be.json ./dist/public",
"build:admin": "cd server/admin && pnpm build",
Expand Down Expand Up @@ -66,6 +66,7 @@
"react-router@^6.0.0": "6.11.0",
"react-router-dom@^6.0.0": "6.11.0",
"@typegoose/typegoose": "9.3.1",
"typescript": "4.9.4",
"mongodb": "4.2.1",
"mongoose@~6.0.14": "6.1.1",
"mongoose@^6.0.0": "6.1.1",
Expand Down
Loading

0 comments on commit c2c51ca

Please sign in to comment.