mirror of
https://github.com/axeloz/filesharing.git
synced 2025-05-06 01:53:55 +02:00
Adding Docker to readme
This commit is contained in:
parent
7c46ea952f
commit
c9dc47d970
1 changed files with 15 additions and 0 deletions
15
readme.md
15
readme.md
|
@ -72,6 +72,8 @@ The application also uses:
|
|||
|
||||
## Installation
|
||||
|
||||
### Standalone
|
||||
|
||||
- configure your domain name. For example: files.yourdomain.com
|
||||
- clone the repo or download the sources into the webroot 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`
|
||||
- (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**.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue