Public Repository

Last pushed: 8 days ago
Short Description
Short description is empty for this repo.
Full Description

Bonde Cache

  1. http web server with maximum performance
  2. read json from mobilizations
  3. parse html to save in bolt at startup script
  4. configure bolt as in-memory db
  5. serve domains based on custom_domain in mobilizations
  6. add worker to listen queue and update bolt cache from mobilization
  7. download static files and serve dynamic (as found in html downloaded)
  8. add support to auto tls custom_domain
  9. production test with multiple domains and certificates
  10. verificar se a requisição voltar vazia e não sobrescrever cache
    ```
    docker build -t nossas/bonde-cache .
    docker run -it --rm -p 3000:3000 -v "$PWD":/go/src/app -w /go/src/app -e PORT=80 -e CACHE_PORT=80 -e CACHE_PORTSSL=443 -e CACHE_DEV=false -e CACHE_INTERVAL=60 -e CACHE_RESET=false --name bonde-cache-app nossas/bonde-cache

dev mode with proxy to 3000 to enable auto builds

docker build -f Dockerfile.dev -t nossas/bonde-cache .
docker run -it --rm -p 3000:3000 -v "$PWD":/go/src/app -w /go/src/app -e CACHE_PORT=3001 -e PORT=3001 -e CACHE_PORTSSL=443 -e CACHE_DEV=true -e CACHE_INTERVAL=20 -e CACHE_RESET=false --name bonde-cache-app nossas/bonde-cache```

Docker Pull Command
Owner
nossas

Comments (0)