Merge pull request #733 from fabiomanz/patch-1

Upgrade from old docker-compose syntax to v2 docker compose syntax
This commit is contained in:
David Bomba
2025-03-18 02:54:22 +11:00
committed by GitHub

View File

@@ -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
- [ ] Add elastic search for site wide search