Files
docker-compose/palmr/docker-compose.yml
T

32 lines
1.0 KiB
YAML
Raw Normal View History

2025-07-14 12:48:15 +05:30
# Palmr File Transfer Service Configuration
2025-07-08 21:22:31 +05:30
services:
palmr:
2025-07-14 12:48:15 +05:30
# Basic container configuration
2025-07-08 21:22:31 +05:30
container_name: palmr
2025-07-13 18:35:45 +05:30
image: docker.io/kyantech/palmr:v3.1.1-beta
restart: unless-stopped
2025-07-14 12:48:15 +05:30
# Application settings
2025-07-08 21:22:31 +05:30
environment:
2025-07-14 12:48:15 +05:30
- 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
2025-07-08 21:22:31 +05:30
volumes:
2025-07-14 12:48:15 +05:30
- ${APPDATA_PATH}/palmr/db:/app/server/prisma # Transfer metadata database
- ${DATA_PATH}/palmr/data:/app/server # File storage directory
# Network configuration
2025-07-08 21:22:31 +05:30
ports:
2025-07-14 12:48:15 +05:30
- ${PORT}:5487 # Web interface port
2025-07-08 21:22:31 +05:30
networks:
2025-07-14 12:48:15 +05:30
- frontend # Connects to frontend network
2025-07-08 21:22:31 +05:30
2025-07-14 12:48:15 +05:30
# External network definition
2025-07-08 21:22:31 +05:30
networks:
frontend:
2025-07-14 12:48:15 +05:30
external: true # Uses pre-existing network