Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

feramhq/docker-service-frontail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Service Frontail

Build Status

Feed frontail with your Docker Swarm logs and post-process with Bunyan

Getting Started

  1. docker run -it -v /var/run/docker.sock:/var/run/docker.sock -p 127.0.0.1:9001:9001 feramhq/docker-service-frontail
  2. Open http://127.0.0.1:9001

Creating a Docker Service

Create the following docker-compose.yaml file.

version: '3.2'
services:
  frontail:
    image: feramhq/docker-service-frontail
    ports:
      - 9001:9001
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    deploy:
      placement:
        constraints:
          - node.role == manager
      resources:
        limits:
          memory: 200M
        reservations:
          memory: 80M

Deploy the above docker-compose.yaml file with:

docker stack deploy -c docker-compose.yaml devops

Note, it is not advisable to deploy this service on more than one node, because you have to take care of client stickiness on for the websocket connection.

About

Feed frontail with your Docker Swarm logs and post-process with Bunyan

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published