# Nexus 3.70.1-02 with H2 Database

**URL:** <https://community.sonatype.com/t/nexus-3-70-1-02-with-h2-database/14681>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository\
**Created:** [March 25, 2025, 9:17am UTC](https://community.sonatype.com/t/nexus-3-70-1-02-with-h2-database/14681 "2025-03-25T09:17:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![laurencet](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/laurencet/32/3456_2.png) [@laurencet](https://community.sonatype.com/u/laurencet)\
**Post date:** [March 25, 2025, 11:49am UTC](https://community.sonatype.com/t/nexus-3-70-1-02-with-h2-database/14681/4 "2025-03-25T11:49:35Z")

</div>

Hey Sam,

Since you’re running in a container it may be easier to just pass this as an enviroment variable. Depending on your method (docker run or docker compose) you could achieve this with the following:

Docker run:

```auto
-e INSTALL4J_ADD_VM_PARAMS="-Dnexus.datastore.enabled"

```

Docker compose:

```auto
environment:
      - INSTALL4J_ADD_VM_PARAMS=-Dnexus.datastore.enabled

```

Hope this helps

---

_[View the full topic](https://community.sonatype.com/t/nexus-3-70-1-02-with-h2-database/14681)._
