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

     1  version: '3'
     2  
     3  services:
     4    web:
     5      build: ./app
     6      command: python manage.py runserver 0.0.0.0:8000
     7      ports:
     8        - 8000:8000
     9      env_file:
    10        - ./.env.dev
    11      depends_on:
    12        - db
    13    db:
    14      image: postgres:13.0-alpine
    15      ports:
    16        - '5432'
    17      environment:
    18        - POSTGRES_USER=hello_django
    19        - POSTGRES_PASSWORD=hello_django
    20        - POSTGRES_DB=hello_django_dev
    21    pyroscope:
    22      image: pyroscope/pyroscope
    23      environment:
    24        - PYROSCOPE_LOG_LEVEL=debug
    25      ports:
    26        - '4040:4040'
    27      command:
    28        - 'server'
    29    load-generator:
    30      build:
    31        context: .
    32        dockerfile: Dockerfile.load-generator
    33  
    34  volumes:
    35    postgres_data: