2024-11-22 16:32:19 +11:00
2024-11-22 16:32:19 +11:00
2024-11-22 16:26:32 +11:00
2021-01-04 20:15:19 +11:00
2020-05-18 12:37:35 +02:00
2023-04-29 09:01:55 +10:00
2020-08-18 12:10:30 +02:00
2015-10-04 22:40:05 +02:00
2024-11-22 16:03:08 +11:00

Docker images Docker image, latest Docker image, debian Artifact HUB Publish Image Build Debian Image

Debian Docker for Invoice Ninja

👑 Features

🔥 NGINX webserver support NGINX
:chrome: Built-in Chrome for PDF generation and other features

Get started with Docker Compose

This Debian-based image includes Chrome for enhanced PDF generation and other features. To get started:

git clone https://github.com/invoiceninja/dockerfiles.git -b debian
cd dockerfiles

Instead of defining our environment variables inside our docker-compose.yml file we now define this in the .env file, open this file up and insert your APP_URL, APP_KEY and update the rest of the variables as required.

APP_URL=http://in.localhost:8003/
APP_KEY=<insert your generated key in here>
APP_DEBUG=true
REQUIRE_HTTPS=false
IN_USER_EMAIL=
IN_PASSWORD=

If IN_USER_EMAIL and IN_PASSWORD is not set the default user email and password is "admin@example.com" and "changeme!" respectively. You will use this for the initial login, thereafter, you can delete these two environment variables.

The APP_KEY can be generated by running

# If you haven't started the containers yet:
docker run --rm -it invoiceninja/invoiceninja-debian php artisan key:generate --show

# Or if your containers are already running:
docker-compose exec app php artisan key:generate --show

Copy the entire string and insert in the env file at APP_KEY=base64....

**Note: For PDF generation using localhost, your domain name MUST end in .test for PDFs to generate correctly due to Chrome's DNS resolver.

Start the container with:

docker-compose up -d

**Note: When performing the setup, the Database host is mysql

Updating the Image

To upgrade to a newer release image, update your docker-compose.yml first by running:

docker-compose down
docker-compose pull
docker-compose up

It is recommended to perform a backup before updating.

Support

If you discover a bug, please create an issue. For general queries, visit our Forum

Languages
Markdown 100%