Skip to content
generated from metakgp/README.md

The Metakgp nginx deployment architecture.

License

Notifications You must be signed in to change notification settings

metakgp/metaploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Contributors Forks Stargazers Issues MIT License Wiki


image

MetaPloy

Taking over the world one deployment at a time.
Report Bug · Request Feature

Table of Contents

About

MetaPloy is just a containerized Nginx reverse proxy that acts as the main webserver. It exposes a docker network named metaploy-network and a volume named metaploy-nginx-config-volume. The volume is mounted at /etc/nginx/sites-enabled/

Each projected hosted on the server should be containerized and connected to the metaploy-network. Each project has its own Nginx configuration file which should be copied to the metaploy-nginx-config-volume volume.

These config files are included inside the top-level http directive and should contain only the server directives. See the usage section for examples.

(back to top)

Getting Started

Prerequisites

Docker and docker compose are the only required dependencies. You can either install Docker Desktop or the Docker Engine. For minimal installations and server use cases, Docker Engine is recommended.

(back to top)

Installation

  1. Clone this repository.
  2. Copy the contents of the .env.template file into the .env file. Create the file if it doesn't exist.
  3. Set the SERVER_PORT variable to the desired port. This is the port at which the server will be accessible on the system.
  4. Run docker compose up to start MetaPloy.

(back to top)

Debugging on server

Sometimes we have to debug things out in production environment. To make this process streamlined there is an auto reload script running as a background service which checks for any changes made to nginx configurations (/etc/nginx/nginx.conf and /etc/nginx/sites-enabled/*) and reloads nginx automatically. Check out the script here. In case you need to debug the script itself you can check-out the logs in the docker container located at /nginx_auto_reload_service.log.

Maintainer(s)

(back to top)

Contact

📫 Metakgp - Metakgp's slack invite Metakgp's email metakgp's Facebook metakgp's LinkedIn metakgp's Twitter metakgp's Instagram

(back to top)

Additional documentation

(back to top)

About

The Metakgp nginx deployment architecture.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks