mirror of
https://github.com/kyantech/Palmr.git
synced 2025-10-22 22:02:00 +00:00
- Added a new `docker-compose-bind-mount-example.yaml` for easier bind mount configuration. - Updated `.gitignore` to include the `data/` directory for persistent storage. - Modified `docker-compose.yaml` to clarify volume paths and improve comments. - Enhanced `Dockerfile` to support flexible UID/GID configuration and ensure proper directory permissions. - Updated environment variable handling in `server-start.sh` and Prisma configuration for better database management. - Revised documentation in `quick-start.mdx` and `uid-gid-configuration.mdx` to reflect new features and best practices for deployment.
17 lines
565 B
YAML
17 lines
565 B
YAML
services:
|
|
palmr:
|
|
image: kyantech/palmr:latest
|
|
container_name: palmr
|
|
environment:
|
|
- ENABLE_S3=false
|
|
- ENCRYPTION_KEY=change-this-key-in-production-min-32-chars # CHANGE THIS KEY FOR SECURITY
|
|
ports:
|
|
- "5487:5487" # Web port
|
|
- "3333:3333" # API port (OPTIONAL EXPOSED - ONLY IF YOU WANT TO ACCESS THE API DIRECTLY)
|
|
volumes:
|
|
- palmr_data:/app/server # Volume for the application data (changed from /data to /app/server)
|
|
restart: unless-stopped # Restart the container unless it is stopped
|
|
|
|
volumes:
|
|
palmr_data:
|