Sha256: 1918f1642d158ef893d57ea4d6e1aad4b453c1291c5f09c95cf514534e2f4a79

Contents?: true

Size: 404 Bytes

Versions: 91

Compression:

Stored size: 404 Bytes

Contents

version: "3"
services:
  <%= app_name %>-db:
    image: postgres
    volumes:
      - <%= app_name %>-data:/var/lib/postgresql/data
    ports:
      - 5432:5432
    environment:
      POSTGRES_PASSWORD: <%= app_name %>
      POSTGRES_USER: <%= app_name %>

  <%-if uses?(:sidekiq) -%>
  <%= app_name %>-redis:
    image: redis
    ports:
      - 6379:6379
  <%- end -%>

volumes:
  <%= app_name %>-data:

Version data entries

91 entries across 91 versions & 2 rubygems

Version Path
rails_app_generator-0.3.6 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.3.5 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.3.4 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.3.3 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.3.2 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.3.1 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.3.0 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.43 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.42 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.41 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.40 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.39 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.38 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.37 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.36 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.35 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.34 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.33 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.32 templates/addons/docker_compose/docker-compose.yml.erb
rails_app_generator-0.2.31 templates/addons/docker_compose/docker-compose.yml.erb