# baseURL problem when running with docker-compose

**URL:** <https://discourse.gohugo.io/t/baseurl-problem-when-running-with-docker-compose/55086>\
**Category:** support\
**Tags:** docker\
**Created:** [June 18, 2025, 12:08pm UTC](https://discourse.gohugo.io/t/baseurl-problem-when-running-with-docker-compose/55086 "2025-06-18T12:08:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [June 18, 2025, 1:30pm UTC](https://discourse.gohugo.io/t/baseurl-problem-when-running-with-docker-compose/55086/4 "2025-06-18T13:30:53Z")

</div>

> [@Thomas\_Porschberg](#):
>
> {{\< figure src="/bella/bella-poc-anmeldung.png” \>}}

Add these lines to the bottom of your site config file:

```plaintext
[[module.mounts]]
source = 'assets'
target = 'assets'

[[module.mounts]]
source = 'static'
target = 'assets'

```

Or place global images (those you might use anywhere on the site) in the assets directory.

Reference: [https://discourse.gohugo.io/t/where-to-place-image-files-when-using-the-markdown-content-format/55087](https://discourse.gohugo.io/t/where-to-place-image-files-when-using-the-markdown-content-format/55087)

---

_[View the full topic](https://discourse.gohugo.io/t/baseurl-problem-when-running-with-docker-compose/55086)._
