Skip to content

Commit

Permalink
Adding Docker to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
axeloz committed Jun 21, 2023
1 parent 7c46ea9 commit c9dc47d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions readme.md
Expand Up @@ -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
Expand All @@ -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**.

Expand Down

0 comments on commit c9dc47d

Please sign in to comment.