stephondoestech

OxiCloud Template

Mar 31st, 2025
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.16 KB | Source Code | 0 0
  1. <?xml version="1.0"?>
  2. <ContainerTemplate
  3.  name="OxiCloud"
  4.  author="DioCrafts"
  5.  version="latest"
  6.  icon="https://raw.githubusercontent.com/DioCrafts/OxiCloud/main/docs/images/logo.png"
  7.  support="https://github.com/DioCrafts/OxiCloud/issues"
  8.  project="https://github.com/DioCrafts/OxiCloud"
  9.  Registry="https://ghcr.io/diocrafts/oxicloud:latest"
  10.  Repository="ghcr.io/diocrafts/oxicloud"
  11.  Overview="OxiCloud is a fully self-hosted and open-source personal cloud server.[br][br][b]IMPORTANT:[/b] This container requires a separate [b]PostgreSQL database[/b]. You must have a running PostgreSQL instance (e.g., from another Docker container) and provide the connection details below.[br][br][b]Setup Instructions:[/b][br]1. Ensure you have a PostgreSQL database running and accessible from your Unraid Docker network.[br]2. Create a database and user specifically for OxiCloud within PostgreSQL.[br]3. Configure the 'Database URL', 'Secret Key', and 'Domain' variables below.[br]4. Map the '/data' volume to store OxiCloud's persistent data."
  12.  Category="Cloud: Tools: Backup: Network:Web"
  13.  WebUI="http://[IP]:[PORT:8000]"
  14.  Network="bridge"
  15.  Privileged="false"
  16.  BindTime="true"
  17.  MinVer="6.9.0"> <Port>
  18.     <Name>WebUI</Name>
  19.     <Description>OxiCloud Web Interface Port</Description>
  20.     <Networking>tcp</Networking>
  21.     <ContainerPort>8000</ContainerPort>
  22.     <HostPort>8000</HostPort> </Port>
  23.  
  24.   <Volume>
  25.     <Name>Data Storage</Name>
  26.     <Description>Container path: /data - Stores all user files, thumbnails, and application data.</Description>
  27.     <HostDir>/mnt/user/appdata/oxicloud</HostDir> <ContainerDir>/data</ContainerDir>
  28.     <Mode>rw</Mode> </Volume>
  29.  
  30.   <Variable>
  31.     <Name>DATABASE_URL</Name>
  32.     <Label>Database URL</Label>
  33.     <Description>Connection string for your PostgreSQL database. Format: postgresql://YourUser:YourPassword@YourDBHost:5432/YourDBName [REQUIRED]</Description>
  34.     <Default>postgresql://user:password@host_ip:5432/oxicloud</Default> <Mask>false</Mask> </Variable>
  35.  
  36.   <Variable>
  37.     <Name>SECRET_KEY</Name>
  38.     <Label>Secret Key</Label>
  39.     <Description>A long, random, and secret string used for security (e.g., session signing). Generate a strong one (e.g., using a password manager or `openssl rand -base64 32`). [REQUIRED]</Description>
  40.     <Default></Default> </Variable>
  41.  
  42.   <Variable>
  43.     <Name>DOMAIN</Name>
  44.     <Label>Domain</Label>
  45.     <Description>The domain name or IP address (with port if not standard 80/443) used to access OxiCloud. Example: 'cloud.mydomain.com' or '192.168.1.100:8000'. [REQUIRED]</Description>
  46.     <Default></Default> </Variable>
  47.  
  48.   <Variable>
  49.     <Name>MAX_UPLOAD_SIZE</Name>
  50.     <Label>Max Upload Size</Label>
  51.     <Description>Maximum size for file uploads (e.g., '100M', '1G', '10G').</Description>
  52.     <Default>100M</Default>
  53.   </Variable>
  54.  
  55.    <Variable>
  56.     <Name>TRUSTED_PROXIES</Name>
  57.     <Label>Trusted Proxies</Label>
  58.     <Description>Optional: Comma-separated list of trusted proxy IP addresses or CIDR ranges if using a reverse proxy (e.g., Nginx Proxy Manager, Traefik). Example: '192.168.1.0/24,172.17.0.1'</Description>
  59.     <Default></Default>
  60.   </Variable>
  61.  
  62.   </ContainerTemplate>
Tags: Cloud Unraid
Add Comment
Please, Sign In to add comment