Skip to content

Commit

Permalink
web,api: Only recreate the websocket services on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
bperel committed Dec 31, 2024
1 parent ebbc6d3 commit 34e0353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"typecheck": "vue-tsc --noEmit",
"dev:blocking": "wait-on tcp:8001",
"prod:deploy": "DIR=. SERVICES='web-websocket web' pnpm -F '~ci' prod:docker-compose-up",
"prod:build-docker": "REPO_NAME=ghcr.io/bperel/ducksmanager-web:websocket pnpm -F '~ci' prod:build-docker -f apps/web/Dockerfile",
"prod:build-docker": "REPO_NAME=ghcr.io/bperel/ducksmanager-web:websocket SERVICES=web-websocket pnpm -F '~ci' prod:build-docker -f apps/web/Dockerfile",
"prod:transfer-files-pre": "pnpm -F '~ci' prod:transfer-files @apps/web/.env.prod.local:apps/web/.env @packages/prisma-clients/.env.prod.local:packages/prisma-schemas/.env",
"prod:transfer-files-post": "pnpm -F '~ci' prod:transfer-files apps/web/docker-compose.yml:@docker-compose.yml"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dev": "concurrently -n api,docker-compose \"pnpm -F ~api nodemon-watch\" \"docker compose -f docker-compose-dev.yml up pastec mailcatcher\"",
"nodemon-watch": "bun --inspect run --watch index.ts",
"prod:deploy": "DIR=packages/api pnpm -F '~ci' prod:docker-compose-up",
"prod:build-docker": "REPO_NAME=ghcr.io/bperel/ducksmanager-api:websocket pnpm -F '~ci' prod:build-docker -f packages/api/Dockerfile",
"prod:build-docker": "REPO_NAME=ghcr.io/bperel/ducksmanager-api:websocket SERVICES=api-websocket pnpm -F '~ci' prod:build-docker -f packages/api/Dockerfile",
"prod:transfer-files-pre": "pnpm -F '~ci' prod:transfer-files @packages/api/.env:packages/api/.env @packages/prisma-clients/.env.prod.local:packages/prisma-schemas/.env",
"prod:transfer-files-post": "pnpm -F '~ci' prod:transfer-files packages/api/docker-compose.yml:@packages/api/docker-compose.yml",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org bruno-perel --project dm-api ./dist && sentry-cli sourcemaps upload --org bruno-perel --project dm-api ./dist"
Expand Down

0 comments on commit 34e0353

Please sign in to comment.