From bf2359fa8ff4abc0f3a5eb58dd09516682ccb52b Mon Sep 17 00:00:00 2001 From: Mohamed BEN HARIZ New laptop Date: Sat, 4 May 2024 11:27:23 +0200 Subject: [PATCH] add Description to Readme --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 23afecfc..94c4b09b 100644 --- a/README.md +++ b/README.md @@ -37,3 +37,31 @@ For installation instructions please refer to our docs at [https://filebrowser.o ## Contributing If you're interested in contributing to this project, our docs are best places to start [https://filebrowser.org/contributing](https://filebrowser.org/contributing). + +## Help for SSL Docker + +To use SSL in Docker you must make this volumes configuration like this table + +| Host/volume | Path in container | Description | +| :------------- | :------- | :-------------------------------- | +| `/home/devops/configFilebrowser/filebrowser.db` | `/filebrowser.db` | **Required**. for Database | +| `/home/devops/configFilebrowser/filebrowser.json` | `/filebrowser.json` | **Required**. for Configuration file (*) | +| `/home/devops/exemple.com` | `/Certs` | **Required**. for Certs | +| `/portainer/Downloads` | `/srv` | **Required**. Folder to be shared | + + +(*) and make the configuration in json file like this + +```http + + { + "port": 8080, //the same port as your host container + "baseURL": "", + "address": "exemple.com", + "log": "stdout", + "database": "/filebrowser.db", + "root": "/srv", + "cert": "/Certs/fullchain.pem", + "key": "/Certs/privkey.pem" + } +```