Sha256: 8d5b7806a9ce764ac4996b34704439c44e3d2106c4a3c029b56a92dd016c122b

Contents?: true

Size: 1.53 KB

Versions: 17

Compression:

Stored size: 1.53 KB

Contents

version: '3'
services:
  nats:
    image: 'nats:2.6.2-alpine'
    ports:
      - '4222:4222'

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

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

  db:
    image: 'postgres:14.0-alpine'
    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
      - /app/rubypitaya/vendor
    ports:
      - '80:4567'
    environment:
      HISTFILE: '/app/rubypitaya/.bash-history'

  rubypitaya-console:
    <<: *rubypitaya
    ports: []
  
  rubypitaya-commands:
    <<: *rubypitaya
    depends_on:
      - 'db'
    ports: []

volumes:
  postgres:

Version data entries

17 entries across 13 versions & 1 rubygems

Version Path
rubypitaya-3.15.2 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.15.1 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.15.0 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.14.0 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.13.1 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.13.0 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.12.1/lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.12.1/lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.12.1/lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.12.2 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.12.1/lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.12.2 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.12.1 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.12.0 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.11.0 ./lib/rubypitaya/app-template/docker-compose.yml