Sha256: 423219f340ebcea89a7e0d0fc8909a0352b282e61ac4084486d1e1d1b8fa45b5

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 KB

Contents

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

  etcd:
    image: 'quay.io/coreos/etcd:v3.5.5'
    restart: always
    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'
    restart: always
    ports:
      - '9001:6379'

  db:
    image: 'postgres:14.0-alpine'
    restart: always
    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'
    restart: always
    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:
    image: 'registry.gitlab.com/dungeonrpg/dungeonrpg/backend:${RUBYPITAYA_IMAGE_TAG}'
    restart: always
    depends_on:
      - 'db'
      - 'nats'
      - 'etcd'
      - 'redis'
      - 'connector'
    working_dir: '/app/rubypitaya'
    environment:
      RUBYPITAYA_SERVER_ENVIRONMENT: 'production'

volumes:
  postgres:

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubypitaya-3.16.0 ./lib/rubypitaya/app-template/docker/stag/docker-compose.stag.yaml