Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mihneamanolache/docker-headful-chrome

A simple docker image to test headful chrome.
https://github.com/mihneamanolache/docker-headful-chrome

Last synced: 17 days ago
JSON representation

A simple docker image to test headful chrome.

Awesome Lists containing this project

README

        

# Docker Headful Chrome
To build image:
```bash
git clone [email protected]:mihneamanolache/docker-headful-chrome.git
cd docker-headful-chrome
docker build -t headful-chrome .
docker run -p 3000:3000 --restart always -d --name browserless headful-chrome
```

The project exposes 2 endpoints:

- `/chrome` which opens up a chrome and returns the socket address to connect to
- `/screeenshot?ulr=` to take a screenshot

Initial tests show that container is unstable, resetting quite often.

ToDo:
- [ ] Further test performance
- [ ] Expose socket for remote connectivity