Add lemmy/pict-rs-template.xml
This commit is contained in:
parent
f6264babd3
commit
f2e52a2f73
1 changed files with 43 additions and 0 deletions
43
lemmy/pict-rs-template.xml
Normal file
43
lemmy/pict-rs-template.xml
Normal file
|
@ -0,0 +1,43 @@
|
|||
<?xml version="1.0"?>
|
||||
<Container version="2">
|
||||
<Name>Pict-rs</Name>
|
||||
<Repository>asonix/pictrs:0.5.16</Repository>
|
||||
<Registry>https://hub.docker.com/r/asonix/pictrs/</Registry>
|
||||
<Network>bridge</Network>
|
||||
<Shell>sh</Shell>
|
||||
<Privileged>false</Privileged>
|
||||
|
||||
<Support>https://git.asonix.dog/asonix/pict-rs</Support>
|
||||
<Project>https://git.asonix.dog/asonix/pict-rs</Project>
|
||||
<Overview>Image hosting service for Lemmy.</Overview>
|
||||
<Category>MediaApp:Photos</Category>
|
||||
<Icon>https://raw.githubusercontent.com/LemmyNet/lemmy-ui/main/src/assets/icons/favicon.svg</Icon>
|
||||
|
||||
<Config Name="API Key" Target="PICTRS__API_KEY" Default="changeme" Mode="" Description="API key for authentication" Type="Variable" Display="always" Required="true" Mask="true"/>
|
||||
<Config Name="Media Path" Target="/mnt" Default="/mnt/user/appdata/lemmy/pictrs" Mode="rw" Description="Storage location for uploaded media" Type="Path" Display="always" Required="true" Mask="false"/>
|
||||
|
||||
<Environment>
|
||||
<Variable Name="RUST_LOG" Mode="" Description="Logging level">debug</Variable>
|
||||
<Variable Name="RUST_BACKTRACE" Mode="" Description="Enable backtrace">full</Variable>
|
||||
<Variable Name="PICTRS__MEDIA__VIDEO_CODEC" Mode="" Description="Video codec">vp9</Variable>
|
||||
<Variable Name="PICTRS__MEDIA__GIF__MAX_WIDTH" Mode="" Description="Maximum GIF width">256</Variable>
|
||||
<Variable Name="PICTRS__MEDIA__GIF__MAX_HEIGHT" Mode="" Description="Maximum GIF height">256</Variable>
|
||||
<Variable Name="PICTRS__MEDIA__GIF__MAX_AREA" Mode="" Description="Maximum GIF area">65536</Variable>
|
||||
<Variable Name="PICTRS__MEDIA__GIF__MAX_FRAME_COUNT" Mode="" Description="Maximum GIF frames">400</Variable>
|
||||
</Environment>
|
||||
|
||||
<Data>
|
||||
<Volume>
|
||||
<HostDir>/mnt/user/appdata/lemmy/pictrs</HostDir>
|
||||
<ContainerDir>/mnt</ContainerDir>
|
||||
<Mode>rw</Mode>
|
||||
</Volume>
|
||||
</Data>
|
||||
|
||||
<Description>Pict-rs is the image hosting service used by Lemmy.
|
||||
|
||||
Configuration:
|
||||
1. Set a secure API key
|
||||
2. Configure the storage path
|
||||
3. Update the API key in Lemmy's configuration</Description>
|
||||
</Container>
|
Loading…
Reference in a new issue