# Best practice for running openHAB as docker container and using samba?

**URL:** <https://community.openhab.org/t/best-practice-for-running-openhab-as-docker-container-and-using-samba/50652>\
**Category:** Installation\
**Created:** [September 2, 2018, 7:13pm UTC](https://community.openhab.org/t/best-practice-for-running-openhab-as-docker-container-and-using-samba/50652 "2018-09-02T19:13:50Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![ptweety](https://community.openhab.org/user_avatar/community.openhab.org/ptweety/32/6442_2.png) [@ptweety](https://community.openhab.org/u/ptweety)\
**Post date:** [January 11, 2019, 7:45am UTC](https://community.openhab.org/t/best-practice-for-running-openhab-as-docker-container-and-using-samba/50652/15 "2019-01-11T07:45:00Z")

</div>

Hi @epicurean,

here is my section from the compose file (.css and .json from openhabian):

```csv
  frontail:
    container_name: frontail
    restart: unless-stopped
    image: mthenw/frontail
    command: --disable-usage-stats --ui-highlight --ui-highlight-preset /frontail/preset/openhab.json -t openhab -l 2000 -n 200 /logs/openhab.log /logs/events.log
    depends_on:
      - openhab
    volumes:
      - ./frontail/preset.json:/frontail/preset/openhab.json:ro
      - ./frontail/openhab.css:/frontail/web/assets/styles/openhab.css:ro
      - ./openhab/userdata/logs:/logs:ro
    ports:
      - "8001:9001"

```

---

_[View the full topic](https://community.openhab.org/t/best-practice-for-running-openhab-as-docker-container-and-using-samba/50652)._
