User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:cloudcommander [2025/01/21 12:06] willyservices:cloudcommander [2025/01/21 12:58] (current) willy
Line 41: Line 41:
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_set_header X-Forwarded-Proto $scheme;         proxy_set_header X-Forwarded-Proto $scheme;
-        #proxy_set_header Authorization $remote_user; 
  
     }     }
Line 51: Line 50:
 ===== Running ===== ===== Running =====
  
 +You can run it by hand with the following example line:
 +<code bash>
 cloudcmd --packer zip --root /data/shares/common --prefix /common --port 5005 --confirm-copy --confirm-move --no-auth --no-config-auth --no-contact --vim --no-dropbox --name "Common Share" cloudcmd --packer zip --root /data/shares/common --prefix /common --port 5005 --confirm-copy --confirm-move --no-auth --no-config-auth --no-contact --vim --no-dropbox --name "Common Share"
 +</code>
  
- +Or you can automate it...
- +
-==== Running ====+
  
 I assume you want to run it as user **myuser**. I assume you want to run it as user **myuser**.
Line 72: Line 72:
 CC_USER=${USER:-${CC_SLOT}} CC_USER=${USER:-${CC_SLOT}}
 CC_GROUP=${GROUP:-${CC_SLOT}} CC_GROUP=${GROUP:-${CC_SLOT}}
-CC_PACKER=${PACKER:zip}+CC_PACKER=${PACKER:-zip}
  
 description=${DESCRIPTION:-Cloud based filebrowser} description=${DESCRIPTION:-Cloud based filebrowser}
Line 78: Line 78:
 command_background=true command_background=true
 command="/data/daemons/filebrowser/.npm_install/bin/cloudcmd" command="/data/daemons/filebrowser/.npm_install/bin/cloudcmd"
-command_args="packer ${CC_PACKER} root \"${FOLDER}\" prefix ${BASE_URL} port ${PORT} confirm-copy confirm-move no-auth no-config-auth no-contact vim no-dropbox name \“${DESCRIPTION}\”" +command_args="--packer ${CC_PACKER} --root \"${FOLDER}\" --prefix ${BASE_URL} --port ${PORT} --confirm-copy --confirm-move --no-auth --no-config-auth --no-contact --vim --no-dropbox --name \“${DESCRIPTION}\”"
 command_user="${CC_USER}:${CC_GROUP}" command_user="${CC_USER}:${CC_GROUP}"
  

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information