Permalink
Switch branches/tags
Nothing to show
Commits on Jul 11, 2018
  1. Dockerfile: install asciidoc

    scanf committed Jul 11, 2018
    Fixes build issue
    
    	configure: error: a2x not found, please install asciidoc
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on Jul 7, 2018
  1. README: remove demo for now

    scanf committed Jul 7, 2018
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  2. README: mention that npm option only works on Linux

    scanf committed Jul 7, 2018
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on Apr 19, 2018
  1. Dockerfile: specify the node version

    scanf committed Apr 19, 2018
    This prevents pulling in the latest version and delaying the
    container build.
    
    Closes: #10 (Docker: specify node version)
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  2. public: make download link a button

    scanf committed Apr 19, 2018
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  3. git: ignore .DS_Store

    scanf committed Apr 19, 2018
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  4. Dockerfile: use key value syntax for LABEL

    scanf committed Apr 19, 2018
    Fixes the following error
    
    	failed to process "\"version:": unexpected end of statement while looking for matching double-quote
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on Sep 9, 2017
  1. Dockerfile: use latest revision from iptables repository

    scanf committed Jun 12, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on Jul 25, 2017
  1. Dockerfile: use latest revision from iptables repository

    scanf committed Jun 12, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on Jun 12, 2017
  1. Dockerfile: use latest revision from iptables repository

    scanf committed Jun 12, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on May 15, 2017
  1. Dockerfile: add iptables label

    scanf committed May 15, 2017
    Was going to use version initially, but don't want to bump that for
    each iptables change.
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on Apr 19, 2017
  1. Dockerfile: add label version

    scanf committed Apr 19, 2017
    Want to use it to force rebuilds of deployed container.
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  2. public: add fork me banner

    scanf committed Apr 19, 2017
    Will be busy for a while so no new development, but hopefully this
    banner encourages others.
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on Apr 4, 2017
  1. Add support for vagrant

    scanf committed Apr 4, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on Mar 24, 2017
  1. README: fix typo

    scanf committed Mar 24, 2017
    s/make_docker_run/make docker_run
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  2. README: use make for docker run

    scanf committed Mar 24, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  3. index: handle examples using /sbin/...

    scanf committed Mar 24, 2017
    $ /sbin/iptables -t mangle -A PREROUTING -m conntrack --ctstate INVALID -j DROP
     nft add rule ip mangle PREROUTING ct state invalid counter drop
    
    Example from: https://javapipe.com/iptables-ddos-protection
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on Mar 22, 2017
  1. Add nginx conf template

    scanf committed Mar 22, 2017
    Want the server to respond to all the http traffic.
    
    From: http://dokku.viewdocs.io/dokku/configuration/nginx/
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on Mar 20, 2017
  1. index: use STORAGE_DIR environment variable if available

    scanf committed Mar 20, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  2. add application version to front

    scanf committed Mar 20, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  3. Makefile: add new target to update package.json

    scanf committed Mar 20, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  4. scripts: add script to print out package.json

    scanf committed Mar 20, 2017
    The noteworthy difference being that we are using git to get the
    version.
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  5. package: correct description

    scanf committed Mar 20, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  6. Dockerfile: add the CHECKS file

    scanf committed Mar 20, 2017
    Looks like dokku does not detect it from the repository.  This just a start and
    can be improved later.  The output from first run
    
    -----> DOKKU_SCALE file found (/home/dokku/2nft/DOKKU_SCALE)
    =====> web=1
    -----> Attempting pre-flight checks
    -----> Attempt 1/5 Waiting for 5 seconds ...
           CHECKS expected result:
           http://localhost/version => ""
           CHECKS expected result:
           http://localhost/help => ""
           CHECKS expected result:
           http://localhost/werbinich => ""
    -----> All checks successful!
    =====> 2nft web container output:
           npm info it worked if it ends with ok
           npm info using npm@4.1.2
           npm info using node@v7.7.2
           npm info lifecycle 2nft@0.0.1~prestart: 2nft@0.0.1
           npm info lifecycle 2nft@0.0.1~start: 2nft@0.0.1
           > 2nft@0.0.1 start /srv/2nft
           > node index.js
    =====> end 2nft web container output
    -----> Running post-deploy
    -----> Found previous container(s) (4ea022cdbc5d) named 2nft.web.1
    =====> renaming container (4ea022cdbc5d) 2nft.web.1 to 2nft.web.1.1490022282
    =====> renaming container (e7eb97b52b44) agitated_rosalind to 2nft.web.1
    -----> Configuring 2nft.alemayhu.com...(using built-in template)
    -----> Creating http nginx.conf
    -----> Running nginx-pre-reload
           Reloading nginx
    remote: sudo: unable to resolve host 2nft
    -----> Setting config vars
           DOKKU_APP_RESTORE: 1
    -----> Attempting to run scripts.dokku.postdeploy from app.json (if defined)
    -----> Shutting down old containers in 60 seconds
    =====> 4ea022cdbc5d081275dd4565bae6380fac595bce2c57e52879514c471a015a2a
    =====> Application deployed:
           http://2nft.alemayhu.com
           http://2nft.alemayhu.com:3000
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  7. add dokku health checks file

    scanf committed Mar 20, 2017
    For now checking the URLs which do not require any extra things like
    body data or parameters in the URL.
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  8. README: add demo section with mirror

    scanf committed Mar 20, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on Mar 16, 2017
  1. index: allow quotes

    scanf committed Mar 16, 2017
    $ iptables -A LOGGING -m limit --limit 2/min -j LOG --log-prefix "IPTables Packet Dropped: " --log-level 7
    
    nft add rule ip filter LOGGING limit rate 2/minute burst 5 packets counter log prefix \"IPTables Packet Dropped: \" level debug
    
    Used example from: http://www.thegeekstuff.com/scripts/iptables-rules
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  2. public: don't use rows greater than 35

    scanf committed Mar 13, 2017
    At some point to much of the screen gets covered.
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  3. index: fix backslash

    scanf committed Mar 16, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  4. index: change order of replace

    scanf committed Mar 16, 2017
    This is getting annoying, I should just learn regex...
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  5. index: sort global variables from longest to shortest

    scanf committed Mar 16, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  6. index: fix regex so we can remove extra replace calls

    scanf committed Mar 16, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  7. index: remove pipes

    scanf committed Mar 16, 2017
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
Commits on Mar 14, 2017
  1. index: drop white listing of errors and just show em all

    scanf committed Mar 14, 2017
    Removed the check help page text.
    
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
  2. index: change up ignore prefixes to catch more variants

    scanf committed Mar 14, 2017
    $ ip6tables -A INPUT -p TCP --dport ssh -j ACCEPT
    Should now return
    nft add rule ip filter INPUT tcp dport 22 counter accept
    
    Used examples from gentoo wiki[0].
    
    [0]: https://wiki.gentoo.org/wiki/Iptables
    Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>