zyte-smartproxy-headless-proxy icon indicating copy to clipboard operation
zyte-smartproxy-headless-proxy copied to clipboard

Can't enter container to check the default config.toml

Open ohld opened this issue 4 years ago • 1 comments

Hey! I just signed up for Crawlera trial for my Selenoum cluster, pulled the official docker image from scrapinghub/crawlera-headless-proxy and setup my API key with CRAWLERA_HEADLESS_APIKEY.

Docs says that

Default configuration file path within a container is /config.toml.

But the official website says I need to download and upload my own config.toml image

So I wanted to check what's inside the container - maybe the recommended config is already inside the container. But I failed to enter the container because neither bash, nor sh is installed inside.

Can you please share what is the default config.toml file? And Should I somehow change it to start everything? And if yes, how can I do it while having the Smart Proxy Manger installed and run in docker container? Thanks.

ohld avatar Aug 02 '21 13:08 ohld

Hi. Not sure if you already found it. Just in case...

In the Readme here in the repo you can find a Configuration Section where the config variables and their defaults are listed.

Also, you don't need to have a configuration file but alternatively pass the configs via the command-line or environment variables.

EDIT: default config.toml is here: https://github.com/zytedata/zyte-smartproxy-headless-proxy/blob/master/config.toml

suchasurge avatar Jan 31 '22 14:01 suchasurge