Git Product home page Git Product logo

denyhosts-sync-docker's Introduction

DenyHosts Sync

Runs an up to date DenyHosts Sync 2.2.3 sync server for DenyHosts.

By default it'll startup and create a new database with DenyHosts Sync tables and then start the Sync server.

Once it's running you can access the frontend on port 9911 by default, e.g. http://localhost:9911/

Healthcheck

Healthcheck is built into the Dockerfile, meaning when you start it up its state will be "starting" untill its done 3 health checks which is done every 5 minutes, so ~15 minutes after starting the image and there are no errors you'll get a sate of "healthy" (granted there are no errors).

It'll change to "unhealthy" when it can no longer retrieve the site via http://localhost:9911/

Usage

There is a example docker-compose.yml file included in the repository to help you get started, fill in the missing parts.

There also is a db-variables.env file where you can enter the database details like; database name, username/password, hostname etc, which is linked to, in both the server and database images.

Put both these files into a directory and run docker-compose up -d in that directory and it'll start both images.

Logs

Incase you need to troubleshoot you can check the logs from both images by running:

docker-compose logs -f

denyhosts-sync-docker's People

Contributors

adriel avatar josev814 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

denyhosts

denyhosts-sync-docker's Issues

Add Docker Actions For Deployment

Can you deploy an action under the denyhosts/denyhosts-sync-docker repo to deploy the Docker Container automatically over to Docker? I took a quick glance at doing it but figured you might be better doing it than myself. Being that I'm not as well versed in Docker as you are.

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.