mirror of
https://github.com/kyantech/Palmr.git
synced 2025-10-23 06:11:58 +00:00
- Enhanced comments for PALMR_UID and PALMR_GID environment variables across multiple Docker Compose files to indicate that users can change these values to match the UID and GID of the user running the container. - Added a note in the quick-start documentation to guide users on adjusting UID and GID for file upload issues, including commands to find the current UID and GID in Linux systems.
18 lines
921 B
YAML
18 lines
921 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
|
|
- PALMR_UID=1000 # UID for the container processes (default is 1001) you can change it to the UID of the user running the container
|
|
- PALMR_GID=1000 # GID for the container processes (default is 1001) you can change it to the GID of the user running the container
|
|
- SECURE_SITE=false # Set to true if you are using a reverse proxy
|
|
ports:
|
|
- "5487:5487" # Web port
|
|
- "3333:3333" # API port (OPTIONAL EXPOSED - ONLY IF YOU WANT TO ACCESS THE API DIRECTLY)
|
|
volumes:
|
|
# Bind mount for persistent data (uploads, database, temp files)
|
|
- ./data:/app/server # Volume for the application data
|
|
restart: unless-stopped # Restart the container unless it is stopped
|