Update README.md

This commit is contained in:
Justin Hammond
2019-12-31 10:43:41 -07:00
committed by Samuel Laulhau
parent 26c91935fc
commit 9060027999

View File

@@ -1,6 +1,6 @@
DockerFile for invoice ninja (https://www.invoiceninja.com/)
This image is based on `php:7.0-fpm` official version.
This image is based on `php:7.2-fpm` official version.
To make your data persistent, you have to mount `/var/www/app/public/logo` and `/var/www/app/storage`.
@@ -25,16 +25,17 @@ docker run -d \
-p '9000:9000' \
invoiceninja/invoiceninja
```
A list of environment variables can be found [here](https://github.com/invoiceninja/invoiceninja/blob/master/.env.example)
A list of environment variables can be found [here](https://github.com/invoiceninja/invoiceninja/blob/master/.env.example).
### With docker-compose
A pretty ready to use docker-compose configuration can be found into [`./docker-compose`](https://github.com/invoiceninja/dockerfiles/tree/master/docker-compose).
Rename `.env.example` into `.env` and change the environment's variable as needed.
The file assume that all your persistent data is mounted from `/srv/invoiceninja/`.
Once started the application should be accessible at http://localhost:8000/
A ready to use docker-compose configuration can be found at [`./docker-compose`](https://github.com/invoiceninja/dockerfiles/tree/master/docker-compose).
### Know issue
Run `cp .env.example .env` and change the environment variables as needed.
The file assumes that all your persistent data is mounted from `/srv/invoiceninja/`.
Once started, the application should be accessible at http://localhost:8000.
Phantomjs doesn't work on linux alpine https://github.com/ariya/phantomjs/issues/14186
### Known issues
Phantomjs doesn't work on linux alpine https://github.com/ariya/phantomjs/issues/14186.