Skip to content

NginxDockerProxy is a simple tool to embed environment variables with nginx.

License

Notifications You must be signed in to change notification settings

hansehe/NginxDockerProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NginxDockerProxy

Build Status MIT license

NginxDockerProxy is a simple tool to embed environment variables with nginx.

The latest Dockerfile is marked as: hansehe/nginx-docker-proxy:latest

Please have a look at example/nginx.site.conf with this example/Dockerfile example.

Any keys marked with ${key} in a nginx site.conf file will be replaced with matching environment variable keys.

Prerequisites

  • Install DockerBuildManagement buildsystem:
    • pip install DockerBuildManagement
  • Install Dependencies:
    • pip install -r src/requirements.txt
  • Note! Working directory should be src/NginxDockerProxy/ when developing with pycharm etc or running tests or the main.py.

Run Unit Tests Manually

  • cd src/NginxDockerProxy
  • python -m unittest

Build, Test & Publish With DockerBuildManagement

  • Build & Test:
    • dbm -build -test
  • Run:
    • dbm -run
  • Publish:
    • dbm -publish

About

NginxDockerProxy is a simple tool to embed environment variables with nginx.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published