Sha256: 502c8b3e7169bfbe87498899bdb601afe6b702ca3be61cc3d3fe31f93a477a26

Contents?: true

Size: 902 Bytes

Versions: 3

Compression:

Stored size: 902 Bytes

Contents

version: '3'

services:
  rails:
    build: .
    env_file:
    - .env
    command: ruby bin/rails s -p 3000 -b '0.0.0.0'
    volumes:
      - .:/app
    links:
      - redis
      - postgres
    ports:
      - "3000:3000"
    expose:
      - "3000"

  postgres:
    image: postgres:10.4
    env_file:
    - .env
    volumes:
      - ".:/app"
    ports:
      - "5432:5432"
    expose:
      - "5432"
  
  redis:
    image: redis:alpine
    env_file:
    - .env
    command: redis-server
    volumes:
      - ".:/app"
    ports:
      - "6379:6379"
    expose:
      - "6379"
  
  sidekiq:
    build: .
    env_file:
    - .env
    environment:
      - RAILS_URL=http://rails:3000 # overwrite to match docker
    command: bundle exec sidekiq -C config/sidekiq.yml
    volumes:
      - ".:/app"
    links:
      - redis
      - rails
      - postgres

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bulldozer-1.6.3 templates/docker-compose.yml
bulldozer-1.6.2 templates/docker-compose.yml
bulldozer-1.6.1 templates/docker-compose.yml