mirror of
https://github.com/soconnor0919/hristudio.git
synced 2025-12-11 22:54:45 -05:00
Update participant and study API routes
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
# Use Docker Compose file format version 3.9
|
||||
# version: '3.9'
|
||||
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
@@ -8,13 +5,15 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- '3000:3000' # Node.js
|
||||
- '4983:4983' # Drizzle Studio
|
||||
# - '4983:4983' # Drizzle Studio
|
||||
volumes:
|
||||
- .:/app
|
||||
- /app/node_modules
|
||||
environment:
|
||||
NODE_ENV: development
|
||||
command: ["pnpm", "run", "dev"]
|
||||
command: ["sh", "-c", "pnpm db:push && pnpm run dev"]
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: postgres
|
||||
@@ -33,6 +32,6 @@ services:
|
||||
restart: always
|
||||
ports:
|
||||
- 8080:8080
|
||||
|
||||
|
||||
volumes:
|
||||
postgres:
|
||||
|
||||
Reference in New Issue
Block a user