This repository contains HAProxy with configuration optimized for next.filmfest.by that's running inside docker in swarm mode.
We use Makefile
for automating docker image build process. Image
version is taken from submodule using git descrbie --tags
.
- make
- docker client (available without
sudo
) - git
Build docker images:
make
# or
make build
Publish docker image:
make push
Publish docker image as latest
:
make push-latest
Long story shot, in order to release a new version one needs to:
- add git tag with an appropriate version
- build image using
make
- push image using
make push
(and optionallymake push-latest
)