Skip to content

Commit

Permalink
Fix incorrect compose service name in the APP_KEY generation command …
Browse files Browse the repository at this point in the history
…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.

Refer-to: APP_KEY | Docker | Snipe-IT documentation <https://snipe-it.readme.io/docs/docker#app_key>
  • Loading branch information
brlin-tw authored Jan 10, 2025
1 parent ec85e4b commit 629f48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 629f48a

Please sign in to comment.