Giter Club home page Giter Club logo

carapaceproxy's Introduction

Carapaceproxy

A Distributed Java Reverse Proxy

For Developers

Start Carapace by running ./run.sh script. This just launch the server, the ui and load a ready to use dynamic configuration. Server will start at http://localhost:8001/ui/#/ and https://localhost:4001/ui/#/ with no authentication required.

To launch/update the ui only, run ./carapace-ui/deploy.sh

To bundle the project into a .zip archive for a standalone installation run mvn clean install -DskipTests -Pproduction. You'll find the generated zip in carapace-server/target/carapace-server-X.Y.Z-SNAPSHOT.zip

For Admins

To install Carapace, just unzip the carapace.zip archive and then run ./bin/service server start [custom-server.properties] (default server.properties is loaded). The server will start at hostname:port as defined in the server.properties file loaded.

Docker

You can build carapace docker image by running:

mvn clean install -DskipTests -Pproduction
docker/build.sh

Then you can run the container and the admin interface will be listening on 0.0.0.0:8001

docker run -p 8001:8001 carapace/carapace-server:latest

You can also pass system properties using docker option -e with the prefix CARAPACE:

docker run -p 8001:8001 -e CARAPACE_mode=cluster -e CARAPACE_zkAddress=localhost:2181 carapace/carapace-server:latest

Docker start a simple cluster with 1 node

You can run a simple 1-node cluster using the docker-compose.yml file. This starts a Carapace node (with embedded bookkeeper and herddb) and Zookeeper. The replication factor of bookkeeper in this case will be set to 1.

docker compose up -d

carapaceproxy's People

Contributors

aluccaroni avatar caliuf avatar dependabot[bot] avatar dmercuriali avatar eolivelli avatar hamadodene avatar mino181295 avatar niccomlt avatar nicoloboschi avatar pv3ntur1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.