# Automated Nexus 3 H2-to-PostgreSQL Migration Using Docker – My First Contribution

**URL:** <https://community.sonatype.com/t/automated-nexus-3-h2-to-postgresql-migration-using-docker-my-first-contribution/15151>\
**Category:** Sonatype Nexus Repository\
**Tags:** docker, nexus-repository, upgrade\
**Created:** [June 18, 2025, 1:03pm UTC](https://community.sonatype.com/t/automated-nexus-3-h2-to-postgresql-migration-using-docker-my-first-contribution/15151 "2025-06-18T13:03:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fer.bodijn](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/fer.bodijn/32/3858_2.png) [@fer.bodijn](https://community.sonatype.com/u/fer.bodijn)\
**Post date:** [June 18, 2025, 1:03pm UTC](https://community.sonatype.com/t/automated-nexus-3-h2-to-postgresql-migration-using-docker-my-first-contribution/15151/1 "2025-06-18T13:03:55Z")

</div>

Hi all,

This is my first post here, so be gentle  
I’ve created a Docker container to simplify running the Sonatype Nexus H2-to-PostgreSQL migrator, making it easier to test and use.

You can find the project here:

- [GitHub - ferry/nexus-h2-to-psql-migrator: A containerized tool for migrating a Sonatype Nexus 3 H2 database to PostgreSQL](https://github.com/ferry/nexus-h2-to-psql-migrator)

It includes:

- A Dockerfile
- Support for passing database parameters via environment variables
- The necessary jars for the Nexus migrator and H2 database tooling

Feedback and contributions are welcome!
