Compare commits
3 Commits
5c7a68b1df
...
1a1d8c2807
Author | SHA1 | Date | |
---|---|---|---|
|
1a1d8c2807 | ||
b03f93dcdf | |||
78988cf36e |
37
palmr/docker-compose-minio.yml
Normal file
37
palmr/docker-compose-minio.yml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# Palmr File Transfer Service Configuration
|
||||||
|
services:
|
||||||
|
palmr:
|
||||||
|
# Basic container configuration
|
||||||
|
container_name: palmr
|
||||||
|
image: docker.io/kyantech/palmr:v3.1.2-beta
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
# Application settings
|
||||||
|
environment:
|
||||||
|
# Storage Configuration
|
||||||
|
- ENABLE_S3=true # Set to 'true' to enable S3-compatible storage backend, 'false' for local filesystem
|
||||||
|
|
||||||
|
# S3 Configuration
|
||||||
|
- S3_ENDPOINT=${S3_ENDPOINT} # S3 endpoint (you have to set this to the s3 endpoint of the s3 server) CHANGE THIS TO YOUR S3 ENDPOINT
|
||||||
|
- S3_USE_SSL=true # Use ssl for the s3 server always true for s3
|
||||||
|
- S3_ACCESS_KEY=${S3_ACCESS_KEY} # S3 access key
|
||||||
|
- S3_SECRET_KEY=${S3_SECRET_KEY} # S3 secret key
|
||||||
|
- S3_REGION=us-east-1 # S3 region (us-east-1 is the default region) but it depends on your s3 server region
|
||||||
|
- S3_BUCKET_NAME=${S3_BUCKET_NAME} # Bucket name for the S3 storage
|
||||||
|
- S3_FORCE_PATH_STYLE=true # For MinIO compatibility we have to set this to true
|
||||||
|
|
||||||
|
# Security Settings
|
||||||
|
- ENCRYPTION_KEY=${ENCRYPTION_KEY} # Data encryption key for security
|
||||||
|
- SECURE_SITE=${SECURE_SITE} # Set to 'true' to enable HTTPS and security headers
|
||||||
|
|
||||||
|
# User/Group Permissions
|
||||||
|
- PALMR_UID=${PUID} # User ID under which the application runs
|
||||||
|
- PALMR_GID=${PGID} # Group ID under which the application runs
|
||||||
|
|
||||||
|
# Persistent storage configuration
|
||||||
|
volumes:
|
||||||
|
- ${APPDATA_PATH}/palmr/server:/app/server # Database directory
|
||||||
|
|
||||||
|
# Network configuration
|
||||||
|
ports:
|
||||||
|
- ${PORT}:5487 # Web interface port
|
@@ -8,16 +8,20 @@ services:
|
|||||||
|
|
||||||
# Application settings
|
# Application settings
|
||||||
environment:
|
environment:
|
||||||
- ENABLE_S3=${ENABLE_S3} # Enable/Disable S3-compatible storage backend
|
# Storage Configuration
|
||||||
|
- ENABLE_S3=false
|
||||||
|
|
||||||
|
# Security Settings
|
||||||
- ENCRYPTION_KEY=${ENCRYPTION_KEY} # Data encryption key for security
|
- ENCRYPTION_KEY=${ENCRYPTION_KEY} # Data encryption key for security
|
||||||
- SECURE_SITE=${SECURE_SITE} # Enable/Disable HTTPS security features
|
- SECURE_SITE=${SECURE_SITE} # Enable/Disable HTTPS security features
|
||||||
|
|
||||||
|
# User/Group Permissions
|
||||||
- PALMR_UID=${PUID} # User ID for proper file permissions
|
- PALMR_UID=${PUID} # User ID for proper file permissions
|
||||||
- PALMR_GID=${PGID} # Group ID for proper file permissions
|
- PALMR_GID=${PGID} # Group ID for proper file permissions
|
||||||
|
|
||||||
# Persistent storage configuration
|
# Persistent storage configuration
|
||||||
volumes:
|
volumes:
|
||||||
- ${APPDATA_PATH}/palmr/db:/app/server/prisma # Transfer metadata database
|
- ${APPDATA_PATH}/palmr/server:/app/server # Database and File storage directory
|
||||||
- ${DATA_PATH}/palmr/data:/app/server # File storage directory
|
|
||||||
|
|
||||||
# Network configuration
|
# Network configuration
|
||||||
ports:
|
ports:
|
||||||
|
Reference in New Issue
Block a user