summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/filebrowser.yml
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2020-08-16 20:07:04 -0400
committerKasra Bigdeli <[email protected]>2020-08-16 20:07:04 -0400
commitaf172b6680583487bdeacf230d7abaf9b57f4811 (patch)
tree799048031a312668a695314c14044abe9bda9ccd /public/v4/apps/filebrowser.yml
parent0e70ec541e7441b71460db230975d4614473ed6d (diff)
downloadcaprover-one-click-apps-af172b6680583487bdeacf230d7abaf9b57f4811.tar.gz
caprover-one-click-apps-af172b6680583487bdeacf230d7abaf9b57f4811.zip
Formatter on V4
Diffstat (limited to 'public/v4/apps/filebrowser.yml')
-rw-r--r--public/v4/apps/filebrowser.yml76
1 files changed, 38 insertions, 38 deletions
diff --git a/public/v4/apps/filebrowser.yml b/public/v4/apps/filebrowser.yml
index 2593eee..3e634e4 100644
--- a/public/v4/apps/filebrowser.yml
+++ b/public/v4/apps/filebrowser.yml
@@ -1,58 +1,58 @@
captainVersion: 4
services:
- $$cap_appname:
- volumes:
- - $$cap_appname-database:/database
- - $$cap_appname-files:/srv
- restart: always
- environment: {}
- caproverExtra:
- dockerfileLines:
- - FROM alpine:latest as helper
- - "# Similar to the original file, except, /database.db is inside a directory now so that we can assign a volume to it."
- - RUN echo "{'port':80,'baseURL':'','address':'','log':'stdout','database':'/database/database.db','root':'/srv'}" | sed "s/\'/\"/g" >/.edited.json
- - FROM filebrowser/filebrowser:$$cap_filebrowser_version
- - COPY --from=helper /.edited.json /.filebrowser.json
+ $$cap_appname:
+ volumes:
+ - $$cap_appname-database:/database
+ - $$cap_appname-files:/srv
+ restart: always
+ environment: {}
+ caproverExtra:
+ dockerfileLines:
+ - FROM alpine:latest as helper
+ - '# Similar to the original file, except, /database.db is inside a directory now so that we can assign a volume to it.'
+ - RUN echo "{'port':80,'baseURL':'','address':'','log':'stdout','database':'/database/database.db','root':'/srv'}" | sed "s/\'/\"/g" >/.edited.json
+ - FROM filebrowser/filebrowser:$$cap_filebrowser_version
+ - COPY --from=helper /.edited.json /.filebrowser.json
caproverOneClickApp:
- variables:
- - id: $$cap_filebrowser_version
- label: File Browser Version Tag
- description: "Check out their Docker page for the valid tags: https://hub.docker.com/r/filebrowser/filebrowser/tags"
- defaultValue: v2.0.16
- validRegex: /^([^\s^\/])+$/
- instructions:
- start: >-
- filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory.
+ variables:
+ - id: $$cap_filebrowser_version
+ label: File Browser Version Tag
+ description: 'Check out their Docker page for the valid tags: https://hub.docker.com/r/filebrowser/filebrowser/tags'
+ defaultValue: v2.0.16
+ validRegex: /^([^\s^\/])+$/
+ instructions:
+ start: >-
+ filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory.
- IMPORTANT:
+ IMPORTANT:
- The default image maps an empty volume to FileBrowser in order to avoid exposing your files, but after you finished installation and changed the password you can mount the root directory of host. i.e. / to /srv in the app.
- end: >-
- Important! Read this and take a screenshot so you can refer to it!
+ The default image maps an empty volume to FileBrowser in order to avoid exposing your files, but after you finished installation and changed the password you can mount the root directory of host. i.e. / to /srv in the app.
+ end: >-
+ Important! Read this and take a screenshot so you can refer to it!
- username and password are both "admin".
+ username and password are both "admin".
- By default, $$cap_appname-files volume, which is an empty directory, is mapped to your file browser content which is at /srv inside the app. To change this:
+ By default, $$cap_appname-files volume, which is an empty directory, is mapped to your file browser content which is at /srv inside the app. To change this:
- 1- Go to FileBrowser and change password to something else to avoid having your files exposed
+ 1- Go to FileBrowser and change password to something else to avoid having your files exposed
- 2- Go to CapRover > Apps > FileBrowser > App Config tab and change $$cap_appname-files to
+ 2- Go to CapRover > Apps > FileBrowser > App Config tab and change $$cap_appname-files to
- 2a) some other volume name such as "cap_name-myappvolume" if you want to view the content of that volume
+ 2a) some other volume name such as "cap_name-myappvolume" if you want to view the content of that volume
- 2b) "/some/existing/path/on/host" if you want to view a specific path on the host.
+ 2b) "/some/existing/path/on/host" if you want to view a specific path on the host.
- 2c) "/" to view the entire content of your host!
+ 2c) "/" to view the entire content of your host!
- Don't change the "/srv" part of the mapping. "/srv" is the directory inside FileBrowser which is used to display content in FileBrowser.
- displayName: ""
- isOfficial: true
- description: filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files with supports for multi users.
- documentation: Taken from https://filebrowser.xyz/installation#docker except moved the database to a directory to be able to associate with a volume
+ Don't change the "/srv" part of the mapping. "/srv" is the directory inside FileBrowser which is used to display content in FileBrowser.
+ displayName: ''
+ isOfficial: true
+ description: filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files with supports for multi users.
+ documentation: Taken from https://filebrowser.xyz/installation#docker except moved the database to a directory to be able to associate with a volume