diff --git a/README.md b/README.md index 4ff66ce..56a696a 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -[![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) +[![Docker Image Size](https://img.shields.io/docker/image-size/invoiceninja/invoiceninja-octane?label=debian)](https://hub.docker.com/r/invoiceninja/invoiceninja-octane) +[![Docker Pulls](https://img.shields.io/docker/pulls/invoiceninja/invoiceninja-octane)](https://hub.docker.com/r/invoiceninja/invoiceninja-octane) [![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/) +# Octane Docker for [Invoice Ninja](https://www.invoiceninja.com/) :crown: **Features** -NGINX webserver support [NGINX](https://nginx.org/) +[FRANKENPHP](https://frankenphp.dev/) Built-in Chrome for PDF generation and other features Saxon XLST 2 engine OPcache @@ -18,8 +18,8 @@ Multi language support This Debian-based image includes Chrome for enhanced PDF generation and other features. To get started: ```bash -git clone https://github.com/invoiceninja/dockerfiles.git -b debian -cd dockerfiles/debian +git clone https://github.com/invoiceninja/dockerfiles.git -b octane +cd dockerfiles/octane ``` 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. @@ -51,10 +51,10 @@ The `APP_KEY` can be generated by running: ```bash # If you haven't started the containers yet: -docker run --rm -it invoiceninja/invoiceninja-debian php artisan key:generate --show +docker run --rm -it invoiceninja/invoiceninja-octane frankenphp php-cli artisan key:generate --show # Or if your containers are already running: -docker-compose exec app php artisan key:generate --show +docker compose exec app frankenphp php-cli artisan key:generate --show ``` Copy the entire string and insert in the .env file at `APP_KEY=base64....` @@ -64,7 +64,7 @@ Copy the entire string and insert in the .env file at `APP_KEY=base64....` Start the container with: ```bash -docker-compose up -d +docker compose up -d ``` **Note: When performing the setup, the Database host is ```mysql``` @@ -74,8 +74,8 @@ docker-compose up -d To upgrade to a newer release image, update your docker-compose.yml first by running: ```bash -docker-compose pull -docker-compose up -d +docker compose pull +docker compose up -d ``` It is recommended to perform a backup before updating. diff --git a/debian/.env b/octane/.env similarity index 100% rename from debian/.env rename to octane/.env diff --git a/debian/Dockerfile b/octane/Dockerfile similarity index 100% rename from debian/Dockerfile rename to octane/Dockerfile diff --git a/debian/docker-compose.yml b/octane/docker-compose.yml similarity index 100% rename from debian/docker-compose.yml rename to octane/docker-compose.yml diff --git a/debian/php/php.ini b/octane/php/php.ini similarity index 100% rename from debian/php/php.ini rename to octane/php/php.ini diff --git a/debian/scripts/init.sh b/octane/scripts/init.sh similarity index 100% rename from debian/scripts/init.sh rename to octane/scripts/init.sh