Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mihneamanolache/docker-headful-chrome
- Owner: mihneamanolache
- Created: 2023-04-28T05:04:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-28T06:14:15.000Z (over 1 year ago)
- Last Synced: 2024-11-05T19:48:57.524Z (2 months ago)
- Language: Dockerfile
- Size: 3.32 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 screenshotInitial tests show that container is unstable, resetting quite often.
ToDo:
- [ ] Further test performance
- [ ] Expose socket for remote connectivity