Sha256: af0aaeed5db631ba4033e3858f5ca69dadf3b8999c779aa10ab768d595285ad2

Contents?: true

Size: 1.67 KB

Versions: 5

Compression:

Stored size: 1.67 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:6.0.5-alpine'
    ports:
      - '9001:6379'

  db:
    image: 'postgres:9.6.17'
    volumes:
      - 'postgres:/var/lib/postgresql/data'
    environment:
      POSTGRES_USER: 'postgres'
      POSTGRES_PASSWORD: 'postgres'
    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/'
      ETCD_LEASE_SECONDS: '60'
      REDIS_URL: 'redis://redis:6379'
      DATABASE_HOST: 'db'
      DATABASE_USER: 'postgres'
      DATABASE_PASSWORD: 'postgres'
      DATABASE_NAME: 'ruby_pitaya'

volumes:
  postgres:

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubypitaya-1.8.2 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-1.8.1 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-1.8.0 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-1.7.2 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-1.7.1 ./lib/rubypitaya/app-template/docker-compose.yml