![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
github.com/abdullah-aghayan/website-screenshot
Docker-powered stateless Go API for taking screenshot from provided website
Before anything you need to have Docker and Golang installed
You can build a single container with the following command
make all
In order to increase the timeout do it as following
make all timeout="-e TIMEOUT=60"
Application will work on port 8080 so you can send a request following url
example
http://127.0.0.1:8080/screenshot?url=http://google.com
(this part not tested yet)
To scale the application you can use docker-compose scaling feature
docker-compose file
version: '3'
services:
screenshot:
image: screenshot:1.0
environment:
- TIMEOUT:30
nginx:
image: nginx:stable-alpine
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- screenshot
ports:
- "8080:8080"
nginx config
user nginx;
events {
worker_connections 1000;
}
http {
server {
listen 8080;
location / {
proxy_pass http://localhost:8080/;
}
}
}
then you can do
make scale instance=the_number_of_instance
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.