Sha256: 7f00f1063680ab7101c90d5f23fe3c70d62a7d17cf734ffaa5277ab498ddb1ab

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

version: '3.2'

services:

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

    command: ["bin/rails", "s", "-b", "0.0.0.0"]
    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

  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("stories/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

2 entries across 1 versions & 1 rubygems

Version Path
roro-0.3.16 lib/roro/cli/templates/rails/roro/docker-compose.yml.tt
roro-0.3.16 lib/roro/cli/templates/roro/docker-compose.yml.tt