Sha256: bc37bf0de1c144a280650bb56f0e3645652a05905128304e59c3b630baa10a10

Contents?: true

Size: 1.64 KB

Versions: 3

Compression:

Stored size: 1.64 KB

Contents

version: '3'
services:
  nats:
    image: 'nats:2.1.4'
    ports:
      - '4222:4222'

  etcd:
    image: 'appcelerator/etcd:3.0.15'
    ports:
      - '2379:2379'
      - '2380:2380'

  redis:
    image: 'redis:3.2.5-alpine'
    ports:
      - '9001:6379'

  db:
    image: 'postgres:9.6.17'
    volumes:
      - 'postgres:/var/lib/postgresql/data'
    environment:
      POSTGRES_USER: 'postgres'
      POSTGRES_HOST_AUTH_METHOD: 'trust'
    ports:
      - '9100:5432'

  connector:
    image: 'registry.gitlab.com/lucianopc/pitaya-connector:0.1.0'
    depends_on:
      - 'db'
      - 'nats'
      - 'etcd'
      - 'redis'
    ports:
      - '3252:3250'
    environment:
      PITAYA_CLUSTER_RPC_SERVER_NATS_CONNECT: 'nats://nats:4222'
      PITAYA_CLUSTER_RPC_CLIENT_NATS_CONNECT: 'nats://nats:4222'
      PITAYA_CLUSTER_RPC_CLIENT_NATS_REQUESTTIMEOUT: '10s'
      PITAYA_CLUSTER_SD_ETCD_ENDPOINTS: 'etcd:2379'
      PITAYA_CLUSTER_SD_ETCD_PREFIX: 'rubypitaya/'
      SERVER_ROUTES: 'rubypitaya'

  rubypitaya:
    depends_on:
      - 'db'
      - 'nats'
      - 'etcd'
      - 'redis'
      - 'connector'
    build:
      context: '.'
      dockerfile: 'docker/dev/Dockerfile'
    working_dir: '/app/rubypitaya'
    volumes:
      - '.:/app/rubypitaya'
    environment:
      SERVER_NAME: 'rubypitaya'
      RUBYPITAYA_ENV: 'development'
      HISTFILE: '/app/rubypitaya/.bash-history'
      NATS_URL: 'nats://nats:4222'
      ETCD_URL: 'http://etcd:2379'
      ETCD_PREFIX: 'rubypitaya/'
      REDIS_URL: 'redis://redis:6379'
      DATABASE_HOST: 'db'
      DATABASE_USER: 'postgres'
      DATABASE_PASSWORD: ''
      DATABASE_NAME: 'ruby_pitaya'

volumes:
  postgres:

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubypitaya-1.3.1 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-1.3.0 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-1.2.9 ./lib/rubypitaya/app-template/docker-compose.yml