Sha256: 83f534d57afa752276c76e162db0c1c1d6cd4405f8bb3581909c271798224afe

Contents?: true

Size: 1.84 KB

Versions: 12

Compression:

Stored size: 1.84 KB

Contents

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

  etcd:
    image: 'quay.io/coreos/etcd:v3.5.5'
    environment:
       ETCD_ADVERTISE_CLIENT_URLS: 'http://localhost:2379'
       ETCD_LISTEN_CLIENT_URLS: 'http://0.0.0.0:2379'
    ports:
      - '2379:2379'

  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
      # - ./vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.13.0/lib/rubypitaya/core:/app/rubypitaya/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.13.0/lib/rubypitaya/core
    ports:
      - '80:4567'
    environment:
      HISTFILE: '/app/rubypitaya/.bash-history'

  rubypitaya-console:
    <<: *rubypitaya
    ports: []
    command: 'exit'

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

volumes:
  postgres:

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rubypitaya-3.19.6 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.19.5 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.19.4 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.19.3 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.19.2 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.19.1 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.19.0 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.18.0 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.17.2 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.17.1 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.17.0 ./lib/rubypitaya/app-template/docker-compose.yml
rubypitaya-3.16.0 ./lib/rubypitaya/app-template/docker-compose.yml