Sha256: 5f030f742b904fae9a27c52ebadda19fc0a099b9d411ff66a46de590409a66b4

Contents?: true

Size: 1.21 KB

Versions: 9

Compression:

Stored size: 1.21 KB

Contents

version: '3.2'

services:

  app:
    build:
      context: .
      dockerfile: roro/containers/app/Dockerfile
    depends_on:
      - database
      - redis

    ports:
      - "3000:3000"
      - "4000:4000"
    volumes:
      - .:/usr/src/app
      - gem_cache:/gems
    env_file:
      - roro/containers/app/${RORO_ENV:-development}.env
      - roro/containers/database/${RORO_ENV:-development}.env
    environment:
      - WEBPACKER_DEV_SERVER_HOST=webpack_dev_server
    command: ["bin/rails", "s", "-b", "0.0.0.0"]

  webpack_dev_server:
    build:
      context: .
      dockerfile: roro/containers/app/Dockerfile


    command: ./bin/webpack-dev-server
    ports:
      - 3035:3035
    volumes:
      - .:/usr/src/app
      - gem_cache:/gems
    env_file:
      - roro/containers/app/${RORO_ENV:-development}.env
      - roro/containers/database/${RORO_ENV:-development}.env
    environment:
      - WEBPACKER_DEV_SERVER_HOST=0.0.0.0

  redis:
    image: redis

<%= yaml_from_template("rails/database/with_#{config[:database_vendor]}/_service.yml") %>

  system_tests:
    image: selenium/standalone-chrome-debug
    logging:
      driver: none
    ports:
      - "35729:35729"
      - "5900:5900"

volumes:
  db_data:
  gem_cache:

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
roro-0.3.30 lib/roro/stacks/stories_v1/templates/rails/docker-compose.yml.tt
roro-0.3.28 lib/roro/stacks/stories_v1/templates/rails/docker-compose.yml.tt
roro-0.3.27 lib/roro/stacks/stories_v1/templates/rails/docker-compose.yml.tt
roro-0.3.25 lib/roro/stacks/stories_v1/templates/rails/docker-compose.yml.tt
roro-0.3.24 lib/roro/stacks/stories_v1/templates/rails/docker-compose.yml.tt
roro-0.3.23 lib/roro/stacks/stories_v1/templates/rails/docker-compose.yml.tt
roro-0.3.22 lib/roro/templates/rails/docker-compose.yml.tt
roro-0.3.21 lib/roro/templates/rails/docker-compose.yml.tt
roro-0.3.18 lib/roro/templates/rails/docker-compose.yml.tt