# Set timezone for Docker container

**URL:** https://meta.discourse.org/t/set-timezone-for-docker-container/244190
**Category:** Self-hosting
**Created:** [November 3, 2022, 3:29pm UTC](https://meta.discourse.org/t/set-timezone-for-docker-container/244190 "2022-11-03T15:29:05Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![OrkoGrayskull](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/orkograyskull/32/275883_2.png) [@OrkoGrayskull](https://meta.discourse.org/u/OrkoGrayskull)
#### Post date: [November 4, 2022, 8:15am UTC](https://meta.discourse.org/t/set-timezone-for-docker-container/244190/2 "2022-11-04T08:15:24Z")

</div>

Found a solution. Add this to your **app.yml** :

```plaintext
run:
  # set timezone "Europe/Paris"
  # systemd: timedatectl set-timezone 'Europe/Paris'  
  - exec: ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime   
  - exec: dpkg-reconfigure --frontend noninteractive tzdata

```

Maybe this helps someone.

---

_[View the full topic](https://meta.discourse.org/t/set-timezone-for-docker-container/244190)._
