Skip to content

Commit

Permalink
trust dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Nov 14, 2024
1 parent 1e227bc commit 9f74402
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 31 deletions.
3 changes: 0 additions & 3 deletions docker-compose.community.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
28 changes: 0 additions & 28 deletions docker/docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"turbo": "^2.2.3"
},
"packageManager": "bun@1.1.34",
"trustedDependencies": ["@currencia/app"],
"workspaces": [
"apps/*",
"packages/*",
Expand Down

0 comments on commit 9f74402

Please sign in to comment.