From 04fc8586eb08d4a14a6dc777364222b0d65fa1f4 Mon Sep 17 00:00:00 2001 From: Ivan Krutov Date: Mon, 10 Jul 2017 19:35:56 +0300 Subject: [PATCH] Added env property to docs (fixes #159) --- docs/browsers-configuration-file.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/browsers-configuration-file.adoc b/docs/browsers-configuration-file.adoc index f3e52a87..f7d08192 100644 --- a/docs/browsers-configuration-file.adoc +++ b/docs/browsers-configuration-file.adoc @@ -14,7 +14,8 @@ Selenoid uses simple JSON configuration files of the following format: "port": "4444", <6> "tmpfs": {"/tmp": "size=512m"}, <7> "path" : "/wd/hub", <8> - "volumes" : ["/to:/from:ro"] <9> + "volumes" : ["/to:/from:ro"], <9> + "env" : ["TZ=Europe/Moscow"], <10> }, "50.0" :{ // ... @@ -35,6 +36,7 @@ Selenoid uses simple JSON configuration files of the following format: <7> _Optional. Containers only._ Add in-memory filesystem (_tmpfs_) to container, see below <8> _Optional._ Path relative to / where we request a new session, see below <9> _Optional. Containers only._ Mount path from host machine to created container +<9> _Optional._ Environment variables to be passed to browser container or driver process This file represents a mapping between a list of supported browser versions and Docker container images or driver binaries.