Skip to content

ckrahe/nginx.places

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx.places

NGINX component for Places app. Proxies requests to Places UI.

Prerequisites

  • Places app instance or container
  • App container has network alias placesapp (default)

Deployment methods

Docker Compose

This is the easiest deployment method, and it's done not here but in docker.places. It assembles the Docker network comprised of each Places container, relying on the Dockerfile and supporting files within each. Check it out.

Manual network

I used this method when I was learning about Docker networks but before I leveraged Docker Compose.

We assume nginx.conf server includes conf.d/default.conf

  1. docker build ... { --build-arg PORT_ARG=port } { --build-arg name=value} ...
  2. docker run ... -p port:port ...
  3. docker network connect ...

See Dockerfile for other build-args and defaults

Container customization

This method, the one I created first, is the most labor-intensive. It doesn't use Dockerfile at all, instead relying on you to first build a container from the standard nginx image

We assume nginx.conf server includes default.d/*

  1. Run build.sh (pre-set environment variables to avoid prompts)
  2. Run deploy.sh

Use

About

NGINX component for Places app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published