Sha256: f0b89129804e158c0d0fbab8c2b165cda6a73b2fd55dea39825c69db7540388d

Contents?: true

Size: 1.25 KB

Versions: 17

Compression:

Stored size: 1.25 KB

Contents

version: '2'
volumes:
  gems:
    driver: local

services:
  rails:
    image: ruby:2.3
    cpu_shares: 4
    # Specify the directory from where all commands sent to the container will be
    # issued to where the code is mounted:
    working_dir: /usr/src/app

    # Keep the stdin open, so we can attach to our app container's process
    # and do things such as byebug, etc:
    stdin_open: true

    # Enable sending signals (CTRL+C, CTRL+P + CTRL+Q) into the container:
    tty: true
    volumes:
      # Mount our app code directory (".") into our app containers at the
      # "/usr/src/app" folder:
      - .:/usr/src/app

      # Mount the 'gems' volume on the folder that stores bundled gems:
      - gems:/usr/local/bundle
  rspec:
    extends:
      service: rails
    entrypoint: /usr/src/app/dev-entrypoint.sh
    command: bundle exec rake
    environment:
      PATH: /usr/src/app/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

  test_app:
    extends:
      service: rails
    working_dir: /usr/src/app/test_app
    entrypoint: /usr/src/app/dev-entrypoint.sh
    command: bundle exec rspec
    environment:
      PATH: /usr/src/app/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
sapience-0.2.4 docker-compose.yml
sapience-0.2.3 docker-compose.yml
sapience-0.2.2 docker-compose.yml
sapience-0.2.1 docker-compose.yml
sapience-0.2.0 docker-compose.yml
sapience-0.1.13 docker-compose.yml
sapience-0.1.12 docker-compose.yml
sapience-0.1.11 docker-compose.yml
sapience-0.1.10 docker-compose.yml
sapience-0.1.9 docker-compose.yml
sapience-0.1.8 docker-compose.yml
sapience-0.1.7 docker-compose.yml
sapience-0.1.6 docker-compose.yml
sapience-0.1.5 docker-compose.yml
sapience-0.1.4 docker-compose.yml
sapience-0.1.3 docker-compose.yml
sapience-0.1.2 docker-compose.yml