Sha256: 1b657af1b235cbab3cc2fc9b726fcf171f35234f95aef160eff4df5de08d33a9

Contents?: true

Size: 1.76 KB

Versions: 10

Compression:

Stored size: 1.76 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:
      - '3250: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: &rubypitaya
    depends_on:
      - 'db'
      - 'nats'
      - 'etcd'
      - 'redis'
      - 'connector'
    build:
      context: '.'
      dockerfile: 'docker/dev/Dockerfile'
    working_dir: '/app/rubypitaya'
    volumes:
      - '.:/app/rubypitaya'
    ports:
      - '80:4567'
    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'

  rubypitaya-console:
    <<: *rubypitaya
    ports: []

volumes:
  postgres:

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rubypitaya-2.7.4 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-2.7.3 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-2.7.1 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-2.7.0 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-2.6.4 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-2.6.3 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-2.6.2 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-2.6.1 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-2.6.0 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-2.5.1 ./lib/rubypitaya/app-template/docker-compose.yml