# libreNMS compose issue.

**URL:** <https://forums.balena.io/t/librenms-compose-issue/372317>\
**Category:** Project help\
**Tags:** docker-compose\
**Created:** [October 19, 2024, 9:01pm UTC](https://forums.balena.io/t/librenms-compose-issue/372317 "2024-10-19T21:01:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Megachip](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@Megachip](https://forums.balena.io/u/Megachip)\
**Post date:** [October 19, 2024, 9:01pm UTC](https://forums.balena.io/t/librenms-compose-issue/372317/1 "2024-10-19T21:01:03Z")

</div>

Im trying to build libreNMS, but [compose file](https://github.com/librenms/docker/blob/master/examples/compose/compose.yml) seems not compatible.

It seems has issues with the name `data/name should be object` and the services `data/services should NOT have additional properties` attributes.

Maybe someone could help? Is there already any existing libreNMS Project/App?

Thx a lot,  
Meg

---

<div class="post-metadata">

**Author:** ![klutchell](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/klutchell/32/861_2.png) [@klutchell](https://forums.balena.io/u/klutchell)\
**Post date:** [October 25, 2024, 2:38pm UTC](https://forums.balena.io/t/librenms-compose-issue/372317/2 "2024-10-25T14:38:49Z")

</div>

Hey @Megachip , just to confirm you are attempting to push that compose file to a balena fleet?

At a high level here are the compose properties we try to support:

> **[docker-compose.yml fields | balena](https://docs.balena.io/reference/supervisor/docker-compose/)**
>
> docker-compose.yml fields supported by balena

So I do see some incompatibilities in your compose file.

1. balena only supports named volumes, not bind volumes ([docs](https://docs.balena.io/learn/develop/multicontainer/#named-volumes))
2. balena does not support the env\_file instruction ([docs](https://docs.balena.io/reference/supervisor/docker-compose/#supported-fields))
3. balena does not support the container\_name instruction ([docs](https://docs.balena.io/reference/supervisor/docker-compose/#known-unsupported-fields))

The other fields should be fine, but note that the long form of ports may not be supported by all versions of the supervisor, so I suggest the short syntax where possible.

```yaml
    ports:
      - 8000:8000/tcp

```

I hope this helps!
