Skip to content

Commit

Permalink
Merge pull request #4907 from FlowFuse/device-tz-docs
Browse files Browse the repository at this point in the history
Add device agent docker timezone docs
  • Loading branch information
joepavitt authored Dec 13, 2024
2 parents d325765 + f6ddebc commit 308da63
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/device-agent/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ services:
- /path/to/device.yml:/opt/flowfuse-device/device.yml
```
#### Time Zone
In order to ensure that the device agent runs with the correct timezone environment variable is set with the `-e` option

```bash
docker run -e TZ=Europe/London --mount type=bind,src=/path/to/device.yml,target=/opt/flowfuse-device/device.yml -p 1880:1880 flowfuse/device-agent:latest
```

## Configuration

The agent configuration is provided by a `device.yml` file within its working
Expand Down

0 comments on commit 308da63

Please sign in to comment.