diff --git a/Dockerfile b/Dockerfile index dcfdd0c..f791104 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:lts-alpine -WORKDIR /app/tailchat +WORKDIR /app/tianji RUN npm install -g pnpm@8.3.1 diff --git a/README.md b/README.md index 2239bcf..17ce980 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Insight into everything -`Uptime Monitor` + `Website analytics` + `Server Status ` = `Tianji` +`Uptime Monitor` + `Website analytics` + `Server Status` = `Tianji` All in one project! diff --git a/docker-compose.yml b/docker-compose.yml index d58c3e8..6adf136 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: ports: - "12345:12345" environment: - DATABASE_URL: postgresql://tianji:tianji@db:5432/tianji + DATABASE_URL: postgresql://tianji:tianji@postgres:5432/tianji JWT_SECRET: replace-me-with-a-random-string ALLOW_REGISTER: "false" ALLOW_OPENAPI: "true" diff --git a/package.json b/package.json index a1a705a..841808e 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dev": "nodemon", "start": "cross-env NODE_ENV=production node ./dist/server/main.js", "start:docker": "pnpm db:migrate:apply && pnpm db:generate && pnpm start", - "build": "pnpm build:client && pnpm build:server && pnpm build:tracker && pnpm build:geo", + "build": "pnpm build:tracker && pnpm build:client && pnpm build:server && pnpm build:geo", "build:client": "vite build", "build:server": "tsc -p tsconfig.server.json", "build:tracker": "ts-node scripts/build-tracker.ts",