Skip to content

mghhrn/varnish-nginx-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-varnish-nginx-example

Simple example of using docker-compose to configure nginx behind varnish

Usage

  • First, you must put your jar file in the same directory as where docker-compose.yml exists.

  • Change database address, port, user, and password in Dockerfile of backendb folder.

  • From the repo root, run:

docker-compose -p example up

The first time you run this, docker will need to download several images used by the services defined in docker-compose.yml. Each service's image is built using it's respective Dockerfile (e.g., nginx/Dockerfile).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published