mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
docker-compose for production
This commit is contained in:
@@ -6,8 +6,6 @@ The easiest way to test Invoice Ninja with docker is by copying the example dire
|
||||
|
||||
To make your data persistent, you have to mount `/var/www/app/public/logo` and `/var/www/app/storage`.
|
||||
|
||||
All the supported environment variable can be found here https://github.com/invoiceninja/invoiceninja/blob/master/.env.example
|
||||
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -32,6 +30,12 @@ docker run -d
|
||||
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/`.
|
||||
|
||||
### Know issue
|
||||
|
||||
Phantomjs doesn't work on linux alpine https://github.com/ariya/phantomjs/issues/14186
|
||||
|
||||
Reference in New Issue
Block a user