From 856d47217ee1234bb98e5c912453b63fa5cb3601 Mon Sep 17 00:00:00 2001 From: Fabio Date: Mon, 17 Mar 2025 13:57:36 +0100 Subject: [PATCH] Upgrade from old docker-compose syntax to v2 docker compose syntax Signed-off-by: Fabio --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2e24b63..5d22d02 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ The `APP_KEY` can be generated by running: 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 +docker compose exec app php 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,9 +74,9 @@ docker-compose up -d To upgrade to a newer release image, update your docker-compose.yml first by running: ```bash -docker-compose down -docker-compose pull -docker-compose up +docker compose down +docker compose pull +docker compose up ``` It is recommended to perform a backup before updating. @@ -92,4 +92,4 @@ This is a new image which should provide much better support for all users, howe - [ ] Backup script - [ ] Integrate soketi server -- [ ] Add elastic search for site wide search \ No newline at end of file +- [ ] Add elastic search for site wide search