Sha256: e3d5a2e34d8c02432e4d1ab20bf9c8ebe919857b145e392a0315711fc59aa374

Contents?: true

Size: 1.08 KB

Versions: 5

Compression:

Stored size: 1.08 KB

Contents

version: '3'

services:

  web:
    build: .
    depends_on:
      - database
      - webpack_dev_server
      - redis
    # entrypoint: ./docker-entrypoint.sh
    command: ["bin/rails", "s", "-b", "0.0.0.0"]

    ports:
      - "3000:3000"
      - "4000:4000"
    volumes:
      - .:/usr/src/app
      - gem_cache:/gems
    env_file:
      - .env/development/web
      - .env/development/database
    environment:
      - WEBPACKER_DEV_SERVER_HOST=webpack_dev_server

  webpack_dev_server:
    build: .
    command: ./bin/webpack-dev-server
    ports:
      - 3035:3035
    volumes:
      - .:/usr/src/app
      - gem_cache:/gems
    env_file:
      - .env/development/database
      - .env/development/web
    environment:
      - WEBPACKER_DEV_SERVER_HOST=0.0.0.0

  redis:
    image: redis

  database:
    image: postgres
    env_file:
      - .env/development/database
    volumes:
      - db_data:/var/lib/postgresql/data

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

volumes:
  db_data:
  gem_cache:

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
roro-0.3.8 lib/roro/cli/templates/dockerize/docker-compose.yml.tt
roro-0.3.7 lib/roro/cli/templates/dockerize/docker-compose.yml.tt
roro-0.3.6 lib/roro/cli/templates/dockerize/docker-compose.yml.tt
roro-0.3.5 lib/roro/cli/templates/dockerize/docker-compose.yml.tt
roro-0.3.4 lib/roro/cli/templates/dockerize/docker-compose.yml