Sha256: 3036642863d6425d9dac3fd360f7e1d6434e022da8848ff1d53a7912cc39d38e

Contents?: true

Size: 1.6 KB

Versions: 6

Compression:

Stored size: 1.6 KB

Contents

version: "3.9"
services:
  mysql:
    image: mysql:5.7
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: mysql_root_password
      MYSQL_DATABASE: app
    expose:
      - "3306"
    volumes:
      - mysql:/var/lib/mysql
  rabbitmq:
    image: rabbitmq:3.9.12
    restart: always
    environment:
      RABBITMQ_NODENAME: rabbit
    expose:
      - "5672"
      - "15672"
      - "25672"
      - "4369"
  memcached:
    image: memcached:1.6.12
    restart: always
    expose:
      - "11211"
  mongodb:
    image: mongo:5.0.4
    restart: always
    volumes:
      - /data/db
    expose:
      - "27017"
  postgres:
    image: postgres:14.2
    restart: always
    environment:
      POSTGRES_USER: admin
      POSTGRES_PASSWORD: postgres_password
    volumes:
      - postgres:/var/lib/postgresql/data
    expose:
      - "5432"
  redis:
    image: redis:6.2.6
    restart: always
    volumes:
      - /var/lib/redis
    expose:
      - "6379"
  app:
    build:
      context: .
      args:
        - ruby_version=${RUBY_VERSION:-3.1}
    image: newrelic_rpm
    tty: true
    stdin_open: true
    environment:
      MYSQL_USERNAME: root
      MYSQL_PASSWORD: mysql_root_password
      DATABASE_NAME: app
      MYSQL_HOST: mysql
      POSTGRES_USERNAME: admin
      POSTGRES_PASSWORD: postgres_password
    command: ["irb"]
    volumes:
      - ".:/usr/src/app"
    depends_on:
      - mysql
      - memcached
      - mongodb
      - postgres
      - rabbitmq
      - redis
    sysctls:
      - "net.ipv6.conf.all.disable_ipv6=0"
volumes:
  mongodb:
    driver: local
  mysql:
    driver: local
  postgres:
    driver: local

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
newrelic_rpm-8.11.0 docker-compose.yml
newrelic_rpm-8.10.1 docker-compose.yml
newrelic_rpm-8.10.0 docker-compose.yml
newrelic_rpm-8.9.0 docker-compose.yml
newrelic_rpm-8.8.0 docker-compose.yml
newrelic_rpm-8.7.0 docker-compose.yml