Home

How to Installation & Build Image Deployer

INSTALLATION

HOW SIMPLE IS IT TO DEPLOY PORTAINER

DEPLOYER INSTALLATION USING DOCKER

Therefore, you are one command away from running container on any machine using Docker.

Deploy Container

Use the following Docker commands to deploy:

$ docker volume create deployer_data
$ docker run -d --name deployer -p 5000:5000 -p 3000:80 -v /var/run/docker.sock:/var/run/docker.sock -v deployer_data:/data/db bkinno/deployer:latest

You'll just need to access the ports 3000 & 5000 of the Docker engine where Deployer is running using your browser.

Note: the -v /var/run/docker.sock:/var/run/docker.sock option can be used in Linux environments only.

USING DOCKER-COMPOSE

Coming soon ...

MANAGE A SWARM CLUSTER WITH DEPLOYER

Coming soon ...


HOW TO RE-BUILD DEPLOYER IMAGE

Dockerfile Git:
https://gitlab.com/bkinno/deployer/docker

Edit settings host url to '/'

Add this to app.py

@app.route('/')
def home():
    return send_from_directory('build', 'index.html')


@app.route('/<path:path>')
def pages(path):
    return send_from_directory('build', 'index.html')

Keep project Deployer Front & Deployer Back is same directory with Dockerfiles
Selection_024

Run build on front project before build image:
npm run build

Build image docker:
docker build . -t bkinno/deployer:latest

Login to DockerHub:
docker login --username=<username>

Push image:
docker push bkinno/deployer

comments powered by Disqus