2017-05-03 11:28:15 +02:00
2017-05-03 11:28:15 +02:00
2017-04-25 12:20:59 +02:00
2017-05-03 10:51:13 +02:00
2015-10-04 22:40:05 +02:00
2017-02-16 22:20:57 +01:00

DockerFile for invoice ninja (https://www.invoiceninja.com/)

This image is based on php:7 official version.

The easiest way to test Invoice Ninja with docker is by copying the example directory, run docker-compose up and visit http://localhost:8000/ .

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

To run it:

docker run -d
  -e APP_ENV='production'
  -e APP_DEBUG=0
  -e APP_URL='http://ninja.dev'
  -e APP_KEY='SomeRandomStringSomeRandomString'
  -e APP_CIPHER='AES-256-CBC'
  -e DB_TYPE='mysql'
  -e DB_STRICT='false'
  -e DB_HOST='localhost'
  -e DB_DATABASE='ninja'
  -e DB_USERNAME='ninja'
  -e DB_PASSWORD='ninja'
  -p '80:80'
  invoiceninja/invoiceninja

A list of environment variables can be found here

Languages
Markdown 100%