项目作者: rezen

项目描述 :
Dockerized hardcidr
高级语言: Shell
项目地址: git://github.com/rezen/hardcidr.git
创建时间: 2020-01-09T06:31:37Z
项目社区:https://github.com/rezen/hardcidr

开源协议:

下载


hardcidr

One thing annoying about hardcidr is the args are set via prompts. This remedies that, adding a script that makes the args settable via environment variables.

Usage

  1. cp .env.tmpl .env
  2. vim .env
  3. docker build -t hardcidr .
  4. docker run -it -v $(pwd)/data:/tmp/ --env-file .env --rm hardcidr /app/hardCIDR_env.sh

Variables

  • ARG_ORGINPUT Name of organization
  • ARG_EMAILDOMAIN Domain for organization
  • ARG_CCUSED Use country code? (Y|N)
  • ARG_CCPOS Country code position
  • ARG_OVERWRITE Overwrite data