Skip to content

Commit

Permalink
Pkg & Docker-Compose Updates (#373)
Browse files Browse the repository at this point in the history
* chore(pkg): updated client browserlist

* fix(docker-compose): added user field and removed rw from target to fix file ownership issues

* chore(pkgs): updated prisma and playwright

* chore(docker-compose): added prisma-studio service
  • Loading branch information
kadey001 authored Dec 1, 2022
1 parent 7b9a307 commit 82bfb9a
Show file tree
Hide file tree
Showing 23 changed files with 108 additions and 133 deletions.
109 changes: 44 additions & 65 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions app/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"allure:open-report": "yarn allure:generate-report && allure open ./allure-report"
},
"devDependencies": {
"@playwright/test": "^1.22.2",
"@playwright/test": "^1.28.1",
"@types/node": "^17.0.42",
"allure-commandline": "^2.17.2",
"dotenv-cli": "^5.1.0",
"experimental-allure-playwright": "^0.0.3",
"playwright": "^1.22.2",
"playwright": "^1.28.1",
"typescript": "4.3.2"
}
}
4 changes: 2 additions & 2 deletions app/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@graphql-tools/load-files": "^6.3.2",
"@graphql-tools/merge": "^6.2.13",
"@graphql-tools/schema": "^7.1.3",
"@prisma/client": "^3.9.2",
"@prisma/client": "^4.7.0",
"altair-fastify-plugin": "^4.0.2",
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
Expand Down Expand Up @@ -75,7 +75,7 @@
"jest": "^27.5.1",
"jest-mock-extended": "^2.0.5",
"mercurius-integration-testing": "^4.0.0",
"prisma": "^3.9.2",
"prisma": "^4.7.0",
"supertest": "^6.2.3",
"ts-jest": "^27.1.4",
"ts-node-dev": "^1.1.6",
Expand Down
23 changes: 20 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
version: '3.6'
services:
app:
user: '${UID}:${GID}'
container_name: app
build: .
tty: true
volumes:
- type: bind
source: .
target: /usr/monorepo:rw
target: /usr/monorepo
working_dir: /usr/monorepo
ports:
- 8080:8080
environment:
- NODE_ENV=development
- DATABASE_URL=postgresql://postgres:postgrespassword@db:5432
NODE_ENV: development
DATABASE_URL: postgresql://postgres:postgrespassword@db:5432
db:
container_name: db
user: postgres
Expand All @@ -27,6 +28,22 @@ services:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgrespassword
POSTGRES_DB: postgres
prisma-studio:
container_name: prisma-studio
image: timothyjmiller/prisma-studio:latest
restart: unless-stopped
environment:
PROJECT_NAME: prytaneum
POSTGRES_DATABASE: postgres
POSTGRES_HOST: db
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: postgrespassword
POSTGRES_PORT: 5432
PRISMA_STUDIO_PORT: 5555
POSTGRES_PATH: db_data
POSTGRES_URL: postgresql://postgres:postgrespassword@db:5432
ports:
- 5555:5555

volumes:
db_data:
Loading

0 comments on commit 82bfb9a

Please sign in to comment.