From c08a4a2b0a18891f44ce038a4194c9bb0de7da9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81=20Buo-ren=20Lin?= Date: Fri, 10 Jan 2025 11:19:51 +0800 Subject: [PATCH] Fixed #16054: fix incorrect compose service name in the APP_KEY generation command of the Docker env file This resolves the following error: ``` $ docker compose run --rm snipe-it php artisan key:generate --show no such service: snipe-it ``` and is also how it is done in the documentation. Fixes #16054. Refer-to: APP_KEY | Docker | Snipe-IT documentation Signed-off-by: Buo-ren Lin (OSSII) --- .env.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.docker b/.env.docker index fb45e500c0..b6c1e52231 100644 --- a/.env.docker +++ b/.env.docker @@ -9,7 +9,7 @@ APP_PORT=8000 # -------------------------------------------- APP_ENV=production APP_DEBUG=false -# Please regenerate the APP_KEY value by calling `docker compose run --rm snipeit php artisan key:generate --show`. Copy paste the value here +# Please regenerate the APP_KEY value by calling `docker compose run --rm app php artisan key:generate --show`. Copy paste the value here APP_KEY=base64:3ilviXqB9u6DX1NRcyWGJ+sjySF+H18CPDGb3+IVwMQ= APP_URL=http://localhost:8000 # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones - TZ identifier