Application/FileSharing
Schema
| Property |
Type |
Description |
listen_address |
string |
Address the service listens on (e.g., 0.0.0.0, 127.0.0.1) |
listen_port |
integer |
Port the service listens on |
data_dir |
string |
Directory for file storage |
max_upload_size |
string |
Maximum upload file size (e.g., 10G, 512M) |
tls.enabled |
boolean |
Whether TLS is enabled |
tls.cert |
string |
Path to TLS certificate file |
tls.key |
string |
Path to TLS private key file |
These properties are common across all file sharing implementations. Sub-types add application-specific settings.
Sub-types
Example
_type: amadla.org/entity/application/file-sharing@v1.0.0
_body:
listen_address: 0.0.0.0
listen_port: 443
data_dir: /srv/data
max_upload_size: 10G
tls:
enabled: true
cert: /etc/ssl/certs/fileshare.pem
key: /etc/ssl/private/fileshare.key
Consumers
| Tool |
How It Uses Application/FileSharing |
| lay |
Installs the file sharing application |
| weaver |
Generates configuration files |
| enjoin-service |
Enables/starts the file sharing service |