Add BMAD framework, authentication, and new features
This commit is contained in:
23
keep-notes/docker-compose.yml
Normal file
23
keep-notes/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
keep-notes:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: memento-app
|
||||
container_name: memento-app
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- DATABASE_URL=file:/app/prisma/dev.db
|
||||
- NODE_ENV=production
|
||||
volumes:
|
||||
# Persist uploaded images
|
||||
- ./public/uploads:/app/public/uploads
|
||||
# Persist SQLite database
|
||||
- ./prisma/dev.db:/app/prisma/dev.db
|
||||
# Ensure the user inside docker has permissions to write to volumes
|
||||
# You might need to adjust user IDs depending on your host system
|
||||
# user: "1001:1001"
|
||||
Reference in New Issue
Block a user