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.3.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

webserver-0.10.3-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file webserver-0.10.3.tar.gz.

File metadata

  • Download URL: webserver-0.10.3.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9

File hashes

Hashes for webserver-0.10.3.tar.gz
Algorithm Hash digest
SHA256 3c0d1c0b0b12dafe6595dffd16b92d9166f592325a4f24dda74e51ca0580e1a7
MD5 0658791c61bfd20c84b521a78b3c44e2
BLAKE2b-256 07e44c251bf4fdf7e61be134475fe7adf98dccf436efbf45219a5a44174630af

See more details on using hashes here.

File details

Details for the file webserver-0.10.3-py3-none-any.whl.

File metadata

  • Download URL: webserver-0.10.3-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9

File hashes

Hashes for webserver-0.10.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3d3a27ffeecaa5abb4b5b328496dbe7efb9997110e9b89d69a034846448cb0a3
MD5 5a94755d0758c13545e6e28d5e2c048e
BLAKE2b-256 42a86d3d5f565ee0d41abbf07eff8eca73aa1640d4ab5b6d068cf9885eade22a

See more details on using hashes here.

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