feat(filestash): add filestash
This commit is contained in:
parent
7225857391
commit
17071fe229
2 changed files with 48 additions and 0 deletions
22
quadlets/filestash/filestash-wopi.container
Normal file
22
quadlets/filestash/filestash-wopi.container
Normal file
|
@ -0,0 +1,22 @@
|
|||
[Unit]
|
||||
Description=Filestash wopi
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
TimeoutStartSec=900
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/collabora/code:24.04.10.2.1
|
||||
ContainerName=filestash-wopi
|
||||
AutoUpdate=registry
|
||||
|
||||
HostName=filestash-wopi
|
||||
PublishPort=9980:9980
|
||||
|
||||
Environment=extra_params=--o:ssl.enable=false
|
||||
Environment=aliasgroup1="https://.*:443"
|
||||
|
||||
Exec=bash -c 'curl -o /usr/share/coolwsd/browser/dist/branding-desktop.css https://gist.githubusercontent.com/mickael-kerjean/bc1f57cd312cf04731d30185cc4e7ba2/raw/d706dcdf23c21441e5af289d871b33defc2770ea/destop.css; /bin/su -s /bin/bash -c /start-collabora-online.sh cool'
|
26
quadlets/filestash/filestash.container
Normal file
26
quadlets/filestash/filestash.container
Normal file
|
@ -0,0 +1,26 @@
|
|||
[Unit]
|
||||
Description=Filestash
|
||||
Wants=filestash-wopi.service
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
TimeoutStartSec=900
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/machines/filestash:latest
|
||||
ContainerName=filestash
|
||||
AutoUpdate=registry
|
||||
|
||||
HostName=filestash
|
||||
PublishPort=8334:8334
|
||||
|
||||
Environment=APPLICATION_URL=
|
||||
Environment=CANARY=true
|
||||
Environment=OFFICE_URL=http://filestash-wopi:9980
|
||||
Environment=OFFICE_FILESTASH_URL=http://filestash:8334
|
||||
Environment=OFFICE_REWRITE_URL=http://127.0.0.1:9980
|
||||
|
||||
Volume=filestash:/app/data/state
|
Loading…
Add table
Reference in a new issue