32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
# Palmr File Transfer Service Configuration
|
|
services:
|
|
palmr:
|
|
# Basic container configuration
|
|
container_name: palmr
|
|
image: docker.io/kyantech/palmr:v3.1.1-beta
|
|
restart: unless-stopped
|
|
|
|
# Application settings
|
|
environment:
|
|
- ENABLE_S3=${ENABLE_S3} # Enable/Disable S3-compatible storage backend
|
|
- ENCRYPTION_KEY=${ENCRYPTION_KEY} # Data encryption key for security
|
|
- SECURE_SITE=${SECURE_SITE} # Enable/Disable HTTPS security features
|
|
- PALMR_UID=${PUID} # User ID for proper file permissions
|
|
- PALMR_GID=${PGID} # Group ID for proper file permissions
|
|
|
|
# Persistent storage configuration
|
|
volumes:
|
|
- ${APPDATA_PATH}/palmr/db:/app/server/prisma # Transfer metadata database
|
|
- ${DATA_PATH}/palmr/data:/app/server # File storage directory
|
|
|
|
# Network configuration
|
|
ports:
|
|
- ${PORT}:5487 # Web interface port
|
|
networks:
|
|
- frontend # Connects to frontend network
|
|
|
|
# External network definition
|
|
networks:
|
|
frontend:
|
|
external: true # Uses pre-existing network
|