Skip to content

Commit

Permalink
Merge pull request #11 from sampeka/extra-args
Browse files Browse the repository at this point in the history
Add support for extra cli arguments
  • Loading branch information
RobCherry committed Apr 16, 2018
2 parents 747e043 + cb0b22a commit db042b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Expand Up @@ -53,6 +53,7 @@ ENV SCREEN_GEOMETRY "1440x900x24"
ENV CHROMEDRIVER_PORT 4444
ENV CHROMEDRIVER_WHITELISTED_IPS "127.0.0.1"
ENV CHROMEDRIVER_URL_BASE ''
ENV CHROMEDRIVER_EXTRA_ARGS ''

EXPOSE 4444

Expand Down
2 changes: 1 addition & 1 deletion etc/supervisor/conf.d/chromedriver.conf
@@ -1,5 +1,5 @@
[program:chromedriver]
command=/usr/local/bin/chromedriver --port=%(ENV_CHROMEDRIVER_PORT)s --whitelisted-ips=%(ENV_CHROMEDRIVER_WHITELISTED_IPS)s --url-base=%(ENV_CHROMEDRIVER_URL_BASE)s
command=/usr/local/bin/chromedriver --port=%(ENV_CHROMEDRIVER_PORT)s --whitelisted-ips=%(ENV_CHROMEDRIVER_WHITELISTED_IPS)s --url-base=%(ENV_CHROMEDRIVER_URL_BASE)s $(ENV_CHROMEDRIVER_EXTRA_ARGS)s
priority=10
user=automation
directory=/home/automation
Expand Down

0 comments on commit db042b6

Please sign in to comment.