Adding Docker to readme

This commit is contained in:
Axel 2023-06-21 15:05:12 +02:00
parent 7c46ea952f
commit c9dc47d970
Signed by: axel
GPG key ID: 73C0A5961B6BC740

View file

@ -72,6 +72,8 @@ The application also uses:
## Installation ## Installation
### Standalone
- configure your domain name. For example: files.yourdomain.com - configure your domain name. For example: files.yourdomain.com
- clone the repo or download the sources into the webroot folder - clone the repo or download the sources into the webroot folder
- configure your webserver to point your domain name to the `./public` folder - configure your webserver to point your domain name to the `./public` folder
@ -85,6 +87,19 @@ The application also uses:
- start the Laravel scheduler (it will delete expired bundles of the storage). For example `* * * * * /usr/bin/php /path-to-your-project/artisan schedule:run >> /dev/null 2>&1` - start the Laravel scheduler (it will delete expired bundles of the storage). For example `* * * * * /usr/bin/php /path-to-your-project/artisan schedule:run >> /dev/null 2>&1`
- (optional) to purge bundles manually, run `php artisan fs:bundle:purge` - (optional) to purge bundles manually, run `php artisan fs:bundle:purge`
### Docker [WIP]
This is a Work In Progress.
```
docker run -d \
-p 8080:80 \
-v <local_path>:/app/storage/content \
--name filesharing \
axeloz/filesharing
```
Use your browser to navigate to your domain name (example: files.yourdomain.com) and **that's it**. Use your browser to navigate to your domain name (example: files.yourdomain.com) and **that's it**.