Giter VIP home page Giter VIP logo

Comments (3)

ravenousld3341 avatar ravenousld3341 commented on June 9, 2024

I second this.

from canarytokens.

jayjb avatar jayjb commented on June 9, 2024

Hi @MaxZabuty, @ravenousld3341,

In order to run this service without the docker, I would advise looking at the Dockerfile. In there you will see all the dependencies necessary.

Once you have the dependencies sorted, you will need to check the canarytokens-docker repo for information on how the different services interact. The docker-compose.yml would form as a sort of playbook on how to run everything, which ports should be avaiable, and which commands would need to be run to get the canarytokens service running.

Essentially there are four services necessary:

  1. redis: which stores all the information needed. We use redis-server --appendonly yes --protected-mode no --save 60 1 to run that.
  2. frontend: which manages the UI . We use twistd -noy frontend.tac --logger log.logger --pidfile=frontend.pid
  3. switchboard: which manages the listening for token triggering and alerting. We use twistd -noy switchboard.tac --logger log.logger --pidfile=switchboard.pid
  4. nginx: which manages where different traffic should head (either switchboard or frontend). For the nginx, you can find the relevant config file in the canarytokens-docker repo under the nginx or certbot-nginx folders (depending on whether you want to use TLS).

Please let me know how it goes. Again, docker is running the Dockerfile and then following a playbook which is the docker-compose.yml or docker-compose-letsencrypt.yml. So you can what is expected of each service there.

from canarytokens.

jayjb avatar jayjb commented on June 9, 2024

Closing this issue. I have made a reference to the above steps in the FAQ. THIS IS NOT A RECOMMENDED APPROACH.

from canarytokens.

Related Issues (20)

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.