From 9f74402185e6131a030b86b04ff032c95608d778 Mon Sep 17 00:00:00 2001 From: HugoRCD Date: Thu, 14 Nov 2024 15:27:34 +0100 Subject: [PATCH] trust dependencies --- docker-compose.community.yml | 3 --- docker/docker-compose.local.yml | 28 ---------------------------- package.json | 1 + 3 files changed, 1 insertion(+), 31 deletions(-) diff --git a/docker-compose.community.yml b/docker-compose.community.yml index 35fdcab..19eef75 100644 --- a/docker-compose.community.yml +++ b/docker-compose.community.yml @@ -36,9 +36,6 @@ services: container_name: prisma_migrate environment: - DATABASE_URL=${DATABASE_URL:-postgres://postgres:postgres@currencia_db:5432/postgres} - depends_on: - shelve_db: - condition: service_healthy command: bunx prisma migrate deploy --schema ./prisma/schema.prisma restart: no networks: diff --git a/docker/docker-compose.local.yml b/docker/docker-compose.local.yml index 0d6a192..e34d0cd 100644 --- a/docker/docker-compose.local.yml +++ b/docker/docker-compose.local.yml @@ -33,31 +33,3 @@ services: reservations: cpus: '0.5' memory: 512M - currencia_db: - image: postgres:15.4 - container_name: currencia_db - restart: always - environment: - - POSTGRES_USER=postgres - - POSTGRES_PASSWORD=postgres - - POSTGRES_DB=postgres - ports: - - "5436:5432" - healthcheck: - test: [ "CMD", "pg_isready", "-U", "postgres" ] - interval: 30s - timeout: 10s - retries: 3 - logging: - driver: "json-file" - options: - max-size: "10m" - max-file: "3" - deploy: - resources: - limits: - cpus: '1' - memory: 1G - reservations: - cpus: '0.5' - memory: 512M diff --git a/package.json b/package.json index ca0ce7d..982efbd 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "turbo": "^2.2.3" }, "packageManager": "bun@1.1.34", + "trustedDependencies": ["@currencia/app"], "workspaces": [ "apps/*", "packages/*",