Interaction of regulators and implementers. There are 3 containers for service.
nginx
containerpg_data
container for persistent db dataweb
container with Python code
You need Docker installed:
- Start local
docker-machine
. For example:$ eval $(docker-machine env default)
- In root project directory
$ docker-compose up -d
- Create docker machine on DO. For example:
$ docker-machine create --driver digitalocean --digitalocean-access-token=aa9399a2175a93b17b1c86c807e08d3fc4b79876545432a629602f61cf6ccd6b production
- In root project directory
$ eval $(docker-machine env production) $ docker-compose -f docker-compose-production.yml up -d