Advertisement
Guest User

Docker - template

a guest
Sep 13th, 2023
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 8.19 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <Container version="2">
  3.   <Name>swag</Name>
  4.   <Repository>lscr.io/linuxserver/swag</Repository>
  5.   <Registry>https://github.com/orgs/linuxserver/packages/container/package/swag</Registry>
  6.   <Network>dockersocket</Network>
  7.   <MyIP/>
  8.   <Shell>bash</Shell>
  9.   <Privileged>false</Privileged>
  10.   <Support>https://github.com/linuxserver/docker-swag/issues/new/choose</Support>
  11.   <Project>https://linuxserver.io</Project>
  12.   <Overview>SWAG - Secure Web Application Gateway (formerly known as letsencrypt, no relation to Let's Encrypt&#x2122;) sets up an Nginx webserver and reverse proxy with php support and a built-in certbot client that automates free SSL server certificate generation and renewal processes (Let's Encrypt and ZeroSSL). It also contains fail2ban for intrusion prevention.</Overview>
  13.   <Category>Tools:Utilities Network:Web</Category>
  14.   <WebUI>http://[IP]:[PORT:81]</WebUI>
  15.   <TemplateURL>https://raw.githubusercontent.com/linuxserver/templates/master/unraid/swag.xml</TemplateURL>
  16.   <Icon>https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver-ls-logo.png</Icon>
  17.   <ExtraParams>--cap-add=NET_ADMIN</ExtraParams>
  18.   <PostArgs/>
  19.   <CPUset/>
  20.   <DateInstalled>1693960111</DateInstalled>
  21.   <DonateText>Donations</DonateText>
  22.   <DonateLink>https://www.linuxserver.io/donate</DonateLink>
  23.   <Requires/>
  24.   <Config Name="WebUI" Target="443" Default="443" Mode="tcp" Description="Https port" Type="Port" Display="always" Required="true" Mask="false">4430</Config>
  25.   <Config Name="Port: 80" Target="80" Default="80" Mode="tcp" Description="Http port (required for http validation and http - https redirect)" Type="Port" Display="always" Required="false" Mask="false">8800</Config>
  26.   <Config Name="URL" Target="URL" Default="yourdomain.url" Mode="{3}" Description="Top url you have control over (`customdomain.com` if you own it, or `customsubdomain.ddnsprovider.com` if dynamic dns)." Type="Variable" Display="always" Required="true" Mask="false">----------------</Config>
  27.   <Config Name="VALIDATION" Target="VALIDATION" Default="http" Mode="{3}" Description="Certbot validation method to use, options are `http` or `dns` (`dns` method also requires `DNSPLUGIN` variable set)." Type="Variable" Display="always" Required="true" Mask="false">dns</Config>
  28.   <Config Name="SUBDOMAINS" Target="SUBDOMAINS" Default="www," Mode="{3}" Description="Subdomains you'd like the cert to cover (comma separated, no spaces) ie. `www,ftp,cloud`. For a wildcard cert, set this *exactly* to `wildcard` (wildcard cert is available via `dns` validation only)" Type="Variable" Display="always" Required="false" Mask="false">wildcard</Config>
  29.   <Config Name="CERTPROVIDER" Target="CERTPROVIDER" Default="" Mode="{3}" Description="Optionally define the cert provider. Set to `zerossl` for ZeroSSL certs (requires existing ZeroSSL account(https://app.zerossl.com/signup) and the e-mail address entered in `EMAIL` env var). Otherwise defaults to Let's Encrypt." Type="Variable" Display="always" Required="false" Mask="false"/>
  30.   <Config Name="DNSPLUGIN" Target="DNSPLUGIN" Default="cloudflare" Mode="{3}" Description="Required if `VALIDATION` is set to `dns`. Options are `acmedns`, `aliyun`, `azure`, `cloudflare`, `cpanel`, `desec`, `digitalocean`, `directadmin`, `dnsimple`, `dnsmadeeasy`, `dnspod`, `do`, `domeneshop`, `duckdns`, `dynu`, `gandi`, `gehirn`, `godaddy`, `google`, `google-domains`, `he`, `hetzner`, `infomaniak`, `inwx`, `ionos`, `linode`, `loopia`, `luadns`, `netcup`, `njalla`, `nsone`, `ovh`, `porkbun`, `rfc2136`, `route53`, `sakuracloud`, `standalone`, `transip`, and `vultr`. Also need to enter the credentials into the corresponding ini (or json for some plugins) file under `/config/dns-conf`." Type="Variable" Display="always" Required="false" Mask="false">cloudflare</Config>
  31.   <Config Name="PROPAGATION" Target="PROPAGATION" Default="" Mode="{3}" Description="Optionally override (in seconds) the default propagation time for the dns plugins." Type="Variable" Display="always" Required="false" Mask="false"/>
  32.   <Config Name="EMAIL" Target="EMAIL" Default="" Mode="{3}" Description="Optional e-mail address used for cert expiration notifications (Required for ZeroSSL)." Type="Variable" Display="always" Required="false" Mask="false">------------</Config>
  33.   <Config Name="ONLY_SUBDOMAINS" Target="ONLY_SUBDOMAINS" Default="false" Mode="{3}" Description="If you wish to get certs only for certain subdomains, but not the main domain (main domain may be hosted on another machine and cannot be validated), set this to `true`" Type="Variable" Display="always" Required="false" Mask="false">false</Config>
  34.   <Config Name="EXTRA_DOMAINS" Target="EXTRA_DOMAINS" Default="" Mode="{3}" Description="Additional fully qualified domain names (comma separated, no spaces) ie. `extradomain.com,subdomain.anotherdomain.org,*.anotherdomain.org`" Type="Variable" Display="always" Required="false" Mask="false"/>
  35.   <Config Name="STAGING" Target="STAGING" Default="false" Mode="{3}" Description="Set to `true` to retrieve certs in staging mode. Rate limits will be much higher, but the resulting cert will not pass the browser's security test. Only to be used for testing purposes." Type="Variable" Display="always" Required="false" Mask="false">false</Config>
  36.   <Config Name="DUCKDNSTOKEN" Target="DUCKDNSTOKEN" Default="" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false"/>
  37.   <Config Name="DOCKER_MODS" Target="DOCKER_MODS" Default="" Mode="" Description="DOCKER_MODS" Type="Variable" Display="always" Required="false" Mask="false">linuxserver/mods:universal-docker|linuxserver/mods:swag-auto-reload|linuxserver/mods:swag-auto-proxy|linuxserver/mods:swag-maxmind|linuxserver/mods:swag-dashboard|linuxserver/mods:swag-crowdsec|linuxserver/mods:swag-cloudflare-real-ip</Config>
  38.   <Config Name="Docker Socket Proxy" Target="DOCKER_HOST" Default="dockersocket" Mode="" Description="The SWAG container will now be able to retrieve info on other containers (read-only access), but will not be able to spin up other containers or run any commands via the docker API." Type="Variable" Display="always" Required="false" Mask="false">dockersocket</Config>
  39.   <Config Name="Dashboard" Target="81" Default="81" Mode="tcp" Description="" Type="Port" Display="always" Required="false" Mask="false">81</Config>
  40.   <Config Name="fail2ban db" Target="/dashboard/fail2ban.sqlite3" Default="" Mode="rw" Description="" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/swag/fail2ban/fail2ban.sqlite3</Config>
  41.   <Config Name="CROWDSEC_API_KEY" Target="CROWDSEC_API_KEY" Default="" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false">-----------------</Config>
  42.   <Config Name="CROWDSEC_LAPI_URL" Target="CROWDSEC_LAPI_URL" Default="" Mode="" Description="CrowdSec Local API Address" Type="Variable" Display="always" Required="false" Mask="false">http://192.168.1.104:8081</Config>
  43.   <Config Name="Emby Logs" Target="/remotelogs/emby" Default="" Mode="ro" Description="" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/EmbyServer/logs/</Config>
  44.   <Config Name="jellyseerr logs" Target="/remotelogs/jellyseerr" Default="" Mode="ro" Description="" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/jellyseerr/logs/</Config>
  45.   <Config Name="Appdata" Target="/config" Default="/mnt/user/appdata/swag" Mode="rw" Description="All the config files including the webroot reside here." Type="Path" Display="advanced" Required="true" Mask="false">/mnt/user/appdata/swag</Config>
  46.   <Config Name="PUID" Target="PUID" Default="99" Mode="{3}" Description="" Type="Variable" Display="advanced" Required="true" Mask="false">99</Config>
  47.   <Config Name="PGID" Target="PGID" Default="100" Mode="{3}" Description="" Type="Variable" Display="advanced" Required="true" Mask="false">100</Config>
  48.   <Config Name="UMASK" Target="UMASK" Default="022" Mode="{3}" Description="" Type="Variable" Display="advanced" Required="false" Mask="false">022</Config>
  49.   <Config Name="MAXMINDDB_LICENSE_KEY" Target="MAXMINDDB_LICENSE_KEY" Default="" Mode="" Description="GeoIP licence Key" Type="Variable" Display="advanced" Required="false" Mask="false">----------------</Config>
  50. </Container>
  51.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement