mirror of
https://github.com/kyantech/Palmr.git
synced 2025-11-02 13:03:15 +00:00
- Introduced the PRESIGNED_URL_EXPIRATION environment variable across multiple configuration files to allow users to customize the expiration time for presigned URLs. - Updated documentation to include details on the new variable, its default value, and guidance on choosing appropriate expiration times based on security and usability needs. - Refactored relevant code to utilize the new configuration option for generating presigned URLs in the file and reverse share services.
23 lines
1.7 KiB
YAML
23 lines
1.7 KiB
YAML
services:
|
|
palmr:
|
|
image: kyantech/palmr:latest
|
|
container_name: palmr
|
|
environment:
|
|
# Optional: Uncomment and configure as needed (if you don`t use, you can remove)
|
|
# - ENABLE_S3=true # Set to true to enable S3-compatible storage (OPTIONAL - default is false)
|
|
# - S3_REJECT_UNAUTHORIZED=false # Set to false to allow self-signed certificates (OPTIONAL - default is true)
|
|
# - DISABLE_FILESYSTEM_ENCRYPTION=false # Set to false to enable file encryption (ENCRYPTION_KEY becomes required) | (OPTIONAL - default is true)
|
|
# - ENCRYPTION_KEY=change-this-key-in-production-min-32-chars # CHANGE THIS KEY FOR SECURITY (REQUIRED if DISABLE_FILESYSTEM_ENCRYPTION is false)
|
|
# - PALMR_UID=1000 # UID for the container processes (OPTIONAL - default is 1000) | See our UID/GID Documentation for more information
|
|
# - PALMR_GID=1000 # GID for the container processes (OPTIONAL - default is 1000) | See our UID/GID Documentation for more information
|
|
# - DEFAULT_LANGUAGE=en-US # Default language for the application (optional, defaults to en-US) | See the docs for see all supported languages
|
|
# - PRESIGNED_URL_EXPIRATION=3600 # Duration in seconds for presigned URL expiration (OPTIONAL - default is 3600 seconds / 1 hour)
|
|
# - SECURE_SITE=true # Set to true if you are using a reverse proxy (OPTIONAL - default is false)
|
|
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
|