Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:filestash [2024/04/22 09:58] – willy | services:filestash [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== FileStash ====== | ||
- | |||
- | [[https:// | ||
- | |||
- | ===== 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 / | ||
- | su - filestash | ||
- | curl -O https:// | ||
- | </ | ||
- | |||
- | Now properly edit the compose file: | ||
- | <file - docker-compose.yml> | ||
- | version: ' | ||
- | services: | ||
- | app: | ||
- | container_name: | ||
- | image: machines/ | ||
- | restart: always | ||
- | environment: | ||
- | - APPLICATION_URL=https:// | ||
- | ports: | ||
- | - " | ||
- | volumes: | ||
- | - / | ||
- | |||
- | onlyoffice: | ||
- | container_name: | ||
- | image: onlyoffice/ | ||
- | restart: always | ||
- | security_opt: | ||
- | - seccomp: | ||
- | |||
- | volumes: | ||
- | filestash: {} | ||
- | |||
- | networks: | ||
- | filestash: {} | ||
- | </ | ||
- | |||
- | And then the usual: | ||
- | <code bash> | ||
- | su - filestash | ||
- | podman compose pull | ||
- | </ | ||
- | |||
- | ===== Reverse Proxy ===== | ||
- | |||
- | The following basic NGINX setup: | ||
- | <file - filestash.conf> | ||
- | location /path/ { | ||
- | client_max_body_size 512M; | ||
- | |||
- | proxy_pass http:// | ||
- | proxy_http_version 1.1; | ||
- | |||
- | proxy_set_header Connection $http_connection; | ||
- | proxy_set_header Connection ' | ||
- | 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; | ||
- | # | ||
- | } | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ===== Autostart ===== | ||
- | |||