Skip to content

Docker Setup

This guide explains how to setup your environment to deployer the Punch on Docker.
For convenience, we will use docker-compose to perform the deployment and keep a reference of the deployed platform.

This is a DRAFT section. Following commands may not exists yet or may change

Install Docker CE

Install Docker CE following the official installation guide.
Do not forget to follow the Linux Post Install...

Install Docker Compose

Install Docker Compose following the official installation guide.

Setup Punchplatform Docker

Download deployer

Get a docker deployment from the Punchplatform site and unpack it.

unzip punchplatform-deployer-<version>-docker.zip

Load images on remote nodes

Load all used images on remote nodes. For moment no deployer are available for it.

Load Third public images you would like to deploy:

docker pull docker.elastic.co/elasticsearch-oss:7.4.2
docker pull docker.elastic.co/metricbeat-oss:7.4.2
docker pull docker.elastic.co/filebeat-oss:7.4.2
docker pull docker.elastic.co/auditbeat-oss:7.4.2
docker pull docker.elastic.co/packetbeat-oss:7.4.2

Load custom Punchplatform images:

docker load < punchplatform-kibana-<version>-docker.tgz
docker load < punchplatform-gateway-<version>-docker.tgz
docker load < punchplatform-kafka-<version>-docker.tgz

Verify all images are available:

docker images
------------------------------------------

Start services

All right, now you can define a docker-compose.yml which contains platform architecture.

version: 3

kibana:
    image: punchplatform-kibana-<version>
    restart: always
    ports:
        - 0.0.0.0:5601: 5601
    environment:
        - PUNCHPLATFORM_REST_API_HOSTS=http://gateway:4242
    link:
        - gateway:gateway
gateway:
    // SOON

elasticsearch:
    // SOON