User Tools

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
services:filestash [2024/04/22 10:00] willyservices:filestash [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== FileStash ====== 
- 
-[[https://www.filestash.app|FileStash]] is a nice web-based file manager that can be used with multiple different storage backend, from Google Drive to S3 buckets, SFTP and also local storage. 
- 
-Unfortunately, FileStash has a few inconveninences for my needs which are: 
-  * Does not support sub-paths 
-  * Require container, which means you cannot easily run multiple instances for multiple non-root users. 
- 
-Here is what i did to try it out, but i gave up because for this specific usage i do **need** subpath support. 
- 
-===== Installation ===== 
- 
-FileStash is provided only as a container, which makes it difficult to run as multiple instances for multiple users. 
- 
-As usual you need a dedicated user for proper security: 
-<code bash> 
-useradd -d /data/daemons/filestash -m filestash 
-su - filestash 
-curl -O https://downloads.filestash.app/latest/docker-compose.yml 
-</code> 
- 
-Now properly edit the compose file: 
-<file - docker-compose.yml> 
-version: '2' 
-services: 
-  app: 
-    container_name: filestash 
-    image: machines/filestash 
-    restart: always 
-    environment: 
-    - APPLICATION_URL=https://www.mydomain.com/path/ 
-    ports: 
-    - "8334:8334" 
-    volumes: 
-    - /data/daemons/filestash/state:/app/data/state/ 
- 
-  onlyoffice: 
-    container_name: filestash_oods 
-    image: onlyoffice/documentserver 
-    restart: always 
-    security_opt: 
-      - seccomp:unconfined 
- 
-volumes: 
-    filestash: {} 
- 
-networks:  
-    filestash: {} 
-</file> 
- 
-And then the usual: 
-<code bash> 
-su - filestash 
-podman compose pull 
-</code> 
- 
-===== Reverse Proxy ===== 
- 
-The following basic NGINX setup: 
-<file - filestash.conf> 
-        location /path/ { 
-        client_max_body_size 512M; 
- 
-        proxy_pass http://127.0.0.1:8334; 
-        proxy_http_version 1.1; 
- 
-        proxy_set_header Connection $http_connection; 
-        proxy_set_header Connection 'upgrade'; 
-        proxy_cache_bypass $http_upgrade; 
-        proxy_set_header Host $host; 
-        proxy_set_header X-Real-IP $remote_addr; 
-        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
-        proxy_set_header X-Forwarded-Proto $scheme; 
-        #proxy_set_header Authorization $remote_user; 
-        } 
-</file> 
- 
- 
- 
- 
- 
- 
-===== Autostart ===== 
- 
  

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