Sha256: be8f893cedf6380d04c53f63b1e0ddc048cb415f81b262111e40c02cf256f0b9

Contents?: true

Size: 1.67 KB

Versions: 8

Compression:

Stored size: 1.67 KB

Contents

---
version: '3'

volumes:
  db_data:
  redis_data:
  rails_demo_bundle_cache:

services:
  ##########################
  # Reverse Proxy
  ##########################
  nginx:
    build:
      context: .
      dockerfile: ./dockerfiles/nginx/Dockerfile
    ports:
      - 80:80

  ##########################
  # Database
  ##########################
  db:
    image: postgres
    restart: always
    environment:
      POSTGRES_PASSWORD: password 

  ##########################
  # Message Queue
  ##########################
  mq:
    image: redis:alpine
    volumes:
      - redis_data:/data

  ##########################
  # Rails demo
  ##########################
  rails_demo:
    healthcheck:
      test: "ls ./tmp/ | grep ready.txt"
    stdin_open: true
    tty: true
    command: ash
    build:
      context: .
      dockerfile: ./dockerfiles/rails_demo/Dockerfile
    volumes:
      - ~/.ssh:/root/.ssh:ro
      - ~/.bundle:/root/.bundle
      - ~/.npmrc:/root/.npmrc:ro
      - rails_demo_bundle_cache:/bundle:delegated
      - ./services/rails_demo:/usr/src/app:cached
    ports:
      - "3000:80"
      - "4000:4000"
    depends_on:
      - nginx
      - mq
      - db
    command: bash

  ##########################
  # Selenium
  ##########################
  selenium-hub:
    image: selenium/hub:latest
    container_name: selenium-hub
    ports:
      - "4442:4442"
      - "4443:4443"
      - "4444:4444"

  chrome:
    image: selenium/node-chrome:dev
    shm_size: 2gb
    depends_on:
      - selenium-hub
    environment:
      - SE_EVENT_BUS_HOST=selenium-hub
      - SE_EVENT_BUS_PUBLISH_PORT=4442
      - SE_EVENT_BUS_SUBSCRIBE_PORT=4443
      - JAVA_OPTS=-Dwebdriver.chrome.whitelistedIps=

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
neptuno-1.5.0 bin/docker-compose.yml
neptuno-1.4.10 bin/docker-compose.yml
neptuno-1.2.1 bin/docker-compose.yml
neptuno-1.2.0 bin/docker-compose.yml
neptuno-1.0.10 bin/docker-compose.yml
neptuno-1.0.9 bin/docker-compose.yml
neptuno-1.0.8 bin/docker-compose.yml
neptuno-1.0.7 bin/docker-compose.yml