# Configure a different location for the .license file

**URL:** <https://forum.getkirby.com/t/configure-a-different-location-for-the-license-file/33215>\
**Category:** Questions\
**Tags:** v4\
**Created:** [December 26, 2024, 2:38pm UTC](https://forum.getkirby.com/t/configure-a-different-location-for-the-license-file/33215 "2024-12-26T14:38:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wout](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/wout/32/11698_2.png) [@wout](https://forum.getkirby.com/u/wout)\
**Post date:** [December 26, 2024, 2:38pm UTC](https://forum.getkirby.com/t/configure-a-different-location-for-the-license-file/33215/1 "2024-12-26T14:38:16Z")

</div>

Is there a way to configure an alternative location to store the .license file? My Kirby app is deployed with Docker and I prefer not to create a volume overlay for the config dir.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [December 26, 2024, 3:31pm UTC](https://forum.getkirby.com/t/configure-a-different-location-for-the-license-file/33215/2 "2024-12-26T15:31:22Z")

</div>

See [$kirby-\>root('license') | Kirby CMS](https://getkirby.com/docs/reference/system/roots/license)

---

<div class="post-metadata">

**Author:** ![wout](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/wout/32/11698_2.png) [@wout](https://forum.getkirby.com/u/wout)\
**Post date:** [December 26, 2024, 3:56pm UTC](https://forum.getkirby.com/t/configure-a-different-location-for-the-license-file/33215/3 "2024-12-26T15:56:41Z")

</div>

Thanks for the quick reply!

---

<div class="post-metadata">

**Author:** ![bnomei](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bnomei/32/775_2.png) [@bnomei](https://forum.getkirby.com/u/bnomei)\
**Post date:** [December 26, 2024, 8:34pm UTC](https://forum.getkirby.com/t/configure-a-different-location-for-the-license-file/33215/4 "2024-12-26T20:34:31Z")

</div>

be mindful that the full path includes the filename (with or without any extension).

---

<div class="post-metadata">

**Author:** ![wout](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/wout/32/11698_2.png) [@wout](https://forum.getkirby.com/u/wout)\
**Post date:** [December 27, 2024, 8:41am UTC](https://forum.getkirby.com/t/configure-a-different-location-for-the-license-file/33215/5 "2024-12-27T08:41:16Z")

</div>

Yeah, I made that mistake first. 😄
