Add Docker Compose deployment
Full node_modules image (not output: standalone — its file-tracing drops argon2's JS loader and segfaults in prod). drizzle.config.ts now honors DATA_DIR like the sibling projects, so db:migrate targets the mounted volume instead of an image-local path.
This commit is contained in:
1 parent
3e7318364b
commit
8d76c4d797
4 files changed
+60
-1
No files matched your search
@@ -0,0 +1,18 @@
|
||||
name: project-claude
|
||||
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
- "8180:8180"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- PORT=8180
|
||||
- DATA_DIR=/data
|
||||
volumes:
|
||||
- data:/data
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
data:
|
||||
Reference in new issue
Block a user