github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/tracing/jaeger/docker-compose.yml (about)

     1  version: '3.9'
     2  
     3  services:
     4    jaeger:
     5      image: 'jaegertracing/all-in-one:1.31'
     6      ports:
     7        - '6831:6831/udp'
     8        - '16686:16686'
     9        - '14268:14268'
    10        - '14250:14250'
    11      logging:
    12        driver: loki
    13        options:
    14          loki-url: 'http://localhost:3100/loki/api/v1/push'
    15  
    16    pyroscope:
    17      image: 'pyroscope/pyroscope:latest'
    18      environment:
    19        - PYROSCOPE_CONFIG=/pyroscope.yaml
    20        - PYROSCOPE_LOG_LEVEL=debug
    21      ports:
    22        - '4040:4040'
    23      volumes:
    24        - ./pyroscope.yaml:/pyroscope.yaml
    25      command:
    26        - 'server'
    27      logging:
    28        driver: loki
    29        options:
    30          loki-url: 'http://localhost:3100/loki/api/v1/push'
    31  
    32    grafana:
    33      image: pyroscope/grafana:dev
    34      volumes:
    35        - ./grafana/provisioning:/etc/grafana/provisioning
    36        - ./grafana/grafana.ini:/etc/grafana/grafana.ini
    37      environment:
    38        - 'GF_INSTALL_PLUGINS=pyroscope-panel'
    39      ports:
    40        - '3000:3000'
    41      logging:
    42        driver: loki
    43        options:
    44          loki-url: 'http://localhost:3100/loki/api/v1/push'
    45  
    46    us-east:
    47      env_file:
    48        - config.env
    49      environment:
    50        - REGION=us-east
    51      build:
    52        context: 'go/rideshare'
    53        dockerfile: Dockerfile
    54      logging:
    55        driver: loki
    56        options:
    57          loki-url: 'http://localhost:3100/loki/api/v1/push'
    58  
    59    eu-north:
    60      env_file:
    61        - config.env
    62      environment:
    63        - REGION=eu-north
    64      build:
    65        context: 'go/rideshare'
    66        dockerfile: Dockerfile
    67      logging:
    68        driver: loki
    69        options:
    70          loki-url: 'http://localhost:3100/loki/api/v1/push'
    71  
    72    ap-south:
    73      env_file:
    74        - config.env
    75      environment:
    76        - REGION=ap-south
    77      build:
    78        context: 'go/rideshare'
    79        dockerfile: Dockerfile
    80      logging:
    81        driver: loki
    82        options:
    83          loki-url: 'http://localhost:3100/loki/api/v1/push'
    84  
    85    us-east-java:
    86      env_file:
    87        - config.env
    88      environment:
    89        - REGION=us-east
    90      build:
    91        context: 'java/rideshare'
    92        dockerfile: Dockerfile
    93      logging:
    94        driver: loki
    95        options:
    96          loki-url: 'http://localhost:3100/loki/api/v1/push'
    97  
    98    eu-north-java:
    99      env_file:
   100        - config.env
   101      environment:
   102        - REGION=eu-north
   103      build:
   104        context: 'java/rideshare'
   105        dockerfile: Dockerfile
   106      logging:
   107        driver: loki
   108        options:
   109          loki-url: 'http://localhost:3100/loki/api/v1/push'
   110  
   111    ap-south-java:
   112      env_file:
   113        - config.env
   114      environment:
   115        - REGION=ap-south
   116      build:
   117        context: 'java/rideshare'
   118        dockerfile: Dockerfile
   119      logging:
   120        driver: loki
   121        options:
   122          loki-url: 'http://localhost:3100/loki/api/v1/push'
   123  
   124    eu-north-java-instrumentation:
   125      env_file:
   126        - config.env
   127      environment:
   128        - REGION=eu-north
   129      build:
   130        context: 'java-instrumentation/rideshare'
   131        dockerfile: Dockerfile
   132      logging:
   133        driver: loki
   134        options:
   135          loki-url: 'http://localhost:3100/loki/api/v1/push'
   136  
   137    eu-north-ruby:
   138      env_file:
   139        - config.env
   140      environment:
   141        - REGION=eu-north
   142        - SERVER_HOST=eu-north-ruby
   143      build:
   144        context: 'ruby/rideshare'
   145        dockerfile: Dockerfile
   146      logging:
   147        driver: loki
   148        options:
   149          loki-url: 'http://localhost:3100/loki/api/v1/push'
   150  
   151    load-generator:
   152      env_file:
   153        - config.env
   154      build:
   155        context: 'go/rideshare'
   156        dockerfile: Dockerfile.loadgen
   157      depends_on:
   158        - ap-south
   159        - eu-north
   160        - us-east
   161        - ap-south-java
   162        - eu-north-java
   163        - us-east-java
   164      logging:
   165        driver: loki
   166        options:
   167          loki-url: 'http://localhost:3100/loki/api/v1/push'
   168  
   169    jaeger-ui:
   170      build:
   171        context: ''
   172        dockerfile: jaeger-ui/Dockerfile
   173      ports:
   174        - '4000:3000'
   175  
   176    loki:
   177      image: 'grafana/loki:2.5.0'
   178      ports:
   179        - '3100:3100'
   180      logging:
   181        driver: loki
   182        options:
   183          loki-url: 'http://localhost:3100/loki/api/v1/push'