Skip to content

Commit 308da63

Browse files
authored
Merge pull request #4907 from FlowFuse/device-tz-docs
Add device agent docker timezone docs
2 parents d325765 + f6ddebc commit 308da63

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/device-agent/install.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ services:
7171
- /path/to/device.yml:/opt/flowfuse-device/device.yml
7272
```
7373
74+
#### Time Zone
75+
76+
In order to ensure that the device agent runs with the correct timezone environment variable is set with the `-e` option
77+
78+
```bash
79+
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
80+
```
81+
7482
## Configuration
7583

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

0 commit comments

Comments
 (0)