bosun.org@v0.0.0-20210513094433-e25bc3e69a1f/docker/docker-compose.yml (about)

     1  version: "3"
     2  services:
     3    redis:
     4      image: redis:6
     5      container_name: redis
     6      ports:
     7        - "6379:6379"
     8    opentsdb:
     9      build:
    10        context: ..
    11        dockerfile: docker/opentsdb.Dockerfile
    12      container_name: opentsdb
    13      restart: on-failure
    14      ports:
    15        - "4242:4242"
    16        - "16010:16010"
    17        - "16030:16030"
    18    bosun:
    19      build:
    20        context: ..
    21        dockerfile: docker/Dockerfile
    22      depends_on:
    23        - redis
    24        - opentsdb
    25      container_name: bosun
    26      restart: always
    27      ports:
    28        - "8070:8070"