Little bugfix for docker run example within readme

This commit is contained in:
Andreas Treubert
2018-11-13 22:06:39 +01:00
committed by Samuel Laulhau
parent 8d0a39ac71
commit 005e1b9dfe

View File

@@ -10,19 +10,19 @@ To make your data persistent, you have to mount `/var/www/app/public/logo` and `
To run it: To run it:
``` ```
docker run -d docker run -d \
-e APP_ENV='production' -e APP_ENV='production' \
-e APP_DEBUG=0 -e APP_DEBUG=0 \
-e APP_URL='http://ninja.dev' -e APP_URL='http://ninja.dev' \
-e APP_KEY='SomeRandomStringSomeRandomString' -e APP_KEY='SomeRandomStringSomeRandomString' \
-e APP_CIPHER='AES-256-CBC' -e APP_CIPHER='AES-256-CBC' \
-e DB_TYPE='mysql' -e DB_TYPE='mysql' \
-e DB_STRICT='false' -e DB_STRICT='false' \
-e DB_HOST='localhost' -e DB_HOST='localhost' \
-e DB_DATABASE='ninja' -e DB_DATABASE='ninja' \
-e DB_USERNAME='ninja' -e DB_USERNAME='ninja' \
-e DB_PASSWORD='ninja' -e DB_PASSWORD='ninja' \
-p '80:80' -p '80:80' \
invoiceninja/invoiceninja 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)