mirror of
https://github.com/kyantech/Palmr.git
synced 2025-11-02 13:03:15 +00:00
- Introduced SECURE_SITE variable in all Docker Compose files to allow configuration for reverse proxy usage. - This addition enhances flexibility for deployment scenarios where a reverse proxy is utilized, improving security configurations.
18 lines
795 B
YAML
18 lines
795 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)
|
|
- PALMR_GID=1000 # GID for the container processes (default is 1001)
|
|
- 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
|