Most of "Docker proxy"code is from from Jason Wilder, with some spice from me.
This is not ideal setup, but for MediaBox.lv / SimpleMediaCode development and some small production good enough.
- Clone repository from github
- !! Create docker network
docker network create nginx-proxy
, where nginx-proxy is name of the network where You will connect all your NGINX services - Run docker compose file
docker-compose up -d
- Stop setup with docker-compose
docker-compose down
- And run
docker-compose up -d --build --remove-orphans
If You are as lazy as me: just use make
commands from Makefile