Skip to main content

Simple to use CLI for setting up nginx webserver in Docker Swarm and adding websites' configs, proxies and static files

Project description

Docker-Webserver (nginx:mainline-alpine)

NB! Big change is in progress, consider this an alpha product!

What is it?

Simple to use CLI for setting up nginx webserver in Docker Swarm and adding websites' configs, proxies and static files


Technology Stack

  • Docker Swarm for orchestration
  • click for CLI scripts

Features

  • Run Highly-Available nginx:mainline-alpine stack with attachable nginx network (to use with others containers) -> webserver run
  • Update stack images without downtime -> webserver update
  • Generate HTTPS config for website with examples -> webserver genconf
  • Get LetsEncrypt SSL certificate for website with one command and no configuration (except DNS A record) -> webserver gentls
  • Generate DH params for website -> webserver gendh
  • Work with configuration files:
    • Add configuration file for website -> webserver conf add
    • Generate and add config with one command -> webserver conf create
    • Edit configuration file for website -> webserver conf edit
    • Reload configs without downtime -> webserver conf reload
  • Add/Update static files for website -> webserver static add

ROADMAP (v1.0.0)

  • See stats of running stack
  • Stop the stack
  • Restart the stack

ROADMAP (v1.x.x)

  • Analyze logs with GoAccess

Made by Igor Nehoroshev (https://neigor.me) for his own needs (if You find it useful - great!😎)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webserver-0.10.2.tar.gz (10.1 kB view hashes)

Uploaded Source

Built Distribution

webserver-0.10.2-py3-none-any.whl (14.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page