Skip to content

manh21/chrome-traefik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Chrome - Traefik Docker Template

This is a docker template for Browserelees chrome with traefik proxy configuration.

Visitor

Usage

Change Host url to your domain in docker-compose.yml file.

Host(`chrome.local.example.com`)

Configure your envoriment in docker-compose.yml file. You can find more information about envoriment variable in here.

- DEFAULT_BLOCK_ADS=true
- ENABLE_CORS=true
- TOKEN=CHANGE_ME # Leave blank to disable | You can generate token with `openssl rand -hex 16`
- DEMO_MODE=false
- MAX_CONCURRENT_SESSIONS=10
- CONNECTION_TIMEOUT=60000

if you use token then your connection url will be like this

const browser = await puppeteer.connect({
  browserWSEndpoint: 'ws://localhost:3000?token=YOUR_TOKEN',
});

More Info

Chrome image

About

Puppeteer Chrome Docker Template

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published