Upload files to "/"

This commit is contained in:
Lee 2023-07-04 17:44:03 +00:00
commit f652c77bc7

29
sharex-php-uploader.xml Normal file

@ -0,0 +1,29 @@
<?xml version="1.0"?>
<Container version="2">
<Name>CDN</Name>
<Repository>fascinated/sharex-php-uploader:latest</Repository>
<Registry/>
<Network>bridge</Network>
<MyIP/>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support/>
<Project>https://git.fascinated.cc/Fascinated/sharex-php-uploader</Project>
<Overview>This server allows you to easily upload ShareX screenshots to your website. It includes token authentication for security and can handle various image file types by converting them to WebP format for efficient storage.&#xD;
&#xD;
View the Git page: https://git.fascinated.cc/Fascinated/sharex-php-uploader</Overview>
<Category>Cloud: Status:Stable</Category>
<WebUI>http://[IP]:[PORT:80]</WebUI>
<TemplateURL/>
<Icon>https://git.fascinated.cc/Fascinated/sharex-php-uploader/raw/branch/master/assets/sharex_logo.png</Icon>
<ExtraParams/>
<PostArgs/>
<CPUset/>
<DateInstalled>1688492530</DateInstalled>
<DonateText/>
<DonateLink/>
<Requires>ShareX</Requires>
<Config Name="FILES_LOCATION" Target="/var/www/html" Default="" Mode="rw" Description="Where you want the uploaded files to be stored." Type="Path" Display="always" Required="true" Mask="false">/mnt/user/Storage/CDN</Config>
<Config Name="Host Key 1" Target="MAX_UPLOAD_SIZE" Default="" Mode="" Description="The max upload size of files in megabytes. Eg: 500M" Type="Variable" Display="always" Required="true" Mask="false">500M</Config>
<Config Name="Host Port 1" Target="80" Default="" Mode="tcp" Description="The port to connect to the application on." Type="Port" Display="always" Required="true" Mask="false">8087</Config>
</Container>