From 1446bfabfcebdf98d54eeebd284541dacf1257b6 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 23 Nov 2024 14:14:25 +1100 Subject: [PATCH 1/6] Shield Badges --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0a6dfeb..6a665ab 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ -[![Docker image, latest](https://img.shields.io/docker/image-size/invoiceninja/invoiceninja-debian/latest?label=latest)](https://hub.docker.com/r/invoiceninja/invoiceninja-debian) -[![Docker image, debian](https://img.shields.io/docker/image-size/invoiceninja/invoiceninja-debian/debian?label=debian)](https://hub.docker.com/r/invoiceninja/invoiceninja-debian) -[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/invoiceninja)](https://artifacthub.io/packages/search?repo=invoiceninja) -[![Publish Image](https://github.com/invoiceninja/dockerfiles/actions/workflows/publish-image.yaml/badge.svg)](https://github.com/invoiceninja/dockerfiles/actions/workflows/publish-image.yaml) -[![Build Debian Image](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-debian.yaml/badge.svg)](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-debian.yaml) +[![Docker Image Size](https://img.shields.io/docker/image-size/invoiceninja/invoiceninja-debian?label=debian)](https://hub.docker.com/r/invoiceninja/invoiceninja-debian) +[![Docker Pulls](https://img.shields.io/docker/pulls/invoiceninja/invoiceninja-debian)](https://hub.docker.com/r/invoiceninja/invoiceninja-debian) +[![Build Status](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-debian.yaml/badge.svg?branch=debian)](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-debian.yaml) +[![Publish Status](https://github.com/invoiceninja/dockerfiles/actions/workflows/publish-image.yaml/badge.svg?branch=debian)](https://github.com/invoiceninja/dockerfiles/actions/workflows/publish-image.yaml) # Debian Docker for [Invoice Ninja](https://www.invoiceninja.com/) From ffc777d5f1e51c0995aa3329c34089ac4bf4ab67 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 23 Nov 2024 14:17:26 +1100 Subject: [PATCH 2/6] Shield Badges --- README.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6a665ab..0408d0b 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,17 @@ [![Docker Image Size](https://img.shields.io/docker/image-size/invoiceninja/invoiceninja-debian?label=debian)](https://hub.docker.com/r/invoiceninja/invoiceninja-debian) [![Docker Pulls](https://img.shields.io/docker/pulls/invoiceninja/invoiceninja-debian)](https://hub.docker.com/r/invoiceninja/invoiceninja-debian) -[![Build Status](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-debian.yaml/badge.svg?branch=debian)](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-debian.yaml) -[![Publish Status](https://github.com/invoiceninja/dockerfiles/actions/workflows/publish-image.yaml/badge.svg?branch=debian)](https://github.com/invoiceninja/dockerfiles/actions/workflows/publish-image.yaml) +[![Build Status](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-debian.yaml/badge.svg)](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-debian.yaml) +[![Publish Status](https://github.com/invoiceninja/dockerfiles/actions/workflows/publish-image.yaml/badge.svg)](https://github.com/invoiceninja/dockerfiles/actions/workflows/publish-image.yaml) # Debian Docker for [Invoice Ninja](https://www.invoiceninja.com/) :crown: **Features** -:fire: NGINX webserver support [NGINX](https://nginx.org/) -:chrome: Built-in Chrome for PDF generation and other features +NGINX webserver support [NGINX](https://nginx.org/) +Built-in Chrome for PDF generation and other features +Saxon XLST 2 engine +OPcache +Multi language support ## Get started with Docker Compose @@ -68,4 +71,10 @@ 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](https://forum.invoiceninja.com/) \ No newline at end of file +If you discover a bug, please create an issue. For general queries, visit our [Forum](https://forum.invoiceninja.com/) + + +### Todo + +This is a new image which should provide much better support for all users, however there are some items left to complete +[] Backup script \ No newline at end of file From 7ce743bd91ac257088ac7bf27a72a8c815c894e7 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 23 Nov 2024 14:19:33 +1100 Subject: [PATCH 3/6] Shield Badges --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0408d0b..e7bdaaa 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![Docker Image Size](https://img.shields.io/docker/image-size/invoiceninja/invoiceninja-debian?label=debian)](https://hub.docker.com/r/invoiceninja/invoiceninja-debian) [![Docker Pulls](https://img.shields.io/docker/pulls/invoiceninja/invoiceninja-debian)](https://hub.docker.com/r/invoiceninja/invoiceninja-debian) -[![Build Status](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-debian.yaml/badge.svg)](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-debian.yaml) [![Publish Status](https://github.com/invoiceninja/dockerfiles/actions/workflows/publish-image.yaml/badge.svg)](https://github.com/invoiceninja/dockerfiles/actions/workflows/publish-image.yaml) +[![Build Status](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-v5.yaml/badge.svg)](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-v5.yaml) # Debian Docker for [Invoice Ninja](https://www.invoiceninja.com/) From 8ff82909c8f6aac864f74290badd7db9eafa8c89 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 23 Nov 2024 14:20:08 +1100 Subject: [PATCH 4/6] Updates for defaults --- debian/docker-compose.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/docker-compose.yml b/debian/docker-compose.yml index e1d57cb..8ba783c 100644 --- a/debian/docker-compose.yml +++ b/debian/docker-compose.yml @@ -8,8 +8,7 @@ x-logging: &default-logging services: app: - # image: deb40d:latest - image: invoiceninja/invoiceninja-debian:latest + image: invoiceninja/invoiceninja-debian:5 restart: unless-stopped env_file: - ./.env @@ -36,7 +35,7 @@ services: image: nginx:alpine restart: unless-stopped ports: - - "8013:80" + - "80:80" volumes: - ./nginx/conf.d:/etc/nginx/conf.d:ro - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro From 2b8bb21d04d686741417522b801aaf7fd555b28b Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 23 Nov 2024 14:24:14 +1100 Subject: [PATCH 5/6] Readme formatting --- README.md | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e7bdaaa..cb026e5 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ :crown: **Features** NGINX webserver support [NGINX](https://nginx.org/) -Built-in Chrome for PDF generation and other features -Saxon XLST 2 engine -OPcache -Multi language support +Built-in Chrome for PDF generation and other features +Saxon XLST 2 engine +OPcache +Multi language support ## Get started with Docker Compose @@ -33,9 +33,19 @@ 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. +## Initial account setup -The `APP_KEY` can be generated by running +### Primary account setup +Prior to starting the container for the first time, open the .env file and update the IN_USER_EMAIL and IN_PASSWORD variables with your primary account. + +This will take care of the initial account setup. You can later remove these .env variables. + +> ⚠️ **Warning** +> 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. + +### Generate a APP_KEY + +The `APP_KEY` can be generated by running: ```bash # If you haven't started the containers yet: @@ -45,7 +55,7 @@ docker run --rm -it invoiceninja/invoiceninja-debian php artisan key:generate -- docker-compose exec app php artisan key:generate --show ``` -Copy the entire string and insert in the env file at `APP_KEY=base64....` +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. @@ -77,4 +87,7 @@ If you discover a bug, please create an issue. For general queries, visit our [F ### Todo This is a new image which should provide much better support for all users, however there are some items left to complete -[] Backup script \ No newline at end of file + +[] Backup script +[] Integrate soketi server +[] Add elastic search for site wide search \ No newline at end of file From 919e15fb40e74bee8c49a573b4d8470e3f7a9c76 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 23 Nov 2024 14:24:50 +1100 Subject: [PATCH 6/6] Readme formatting --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cb026e5..fc022d3 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,6 @@ If you discover a bug, please create an issue. For general queries, visit our [F This is a new image which should provide much better support for all users, however there are some items left to complete -[] Backup script -[] Integrate soketi server -[] Add elastic search for site wide search \ No newline at end of file +- [ ] Backup script +- [ ] Integrate soketi server +- [ ] Add elastic search for site wide search \ No newline at end of file