Sha256: b64aa893ee79637a987361dd9d1fe48e27c74a29557884e41dc289392c9131b0

Contents?: true

Size: 712 Bytes

Versions: 3

Compression:

Stored size: 712 Bytes

Contents

version: '3.4'

services:
  reverseproxy:
    image: <%= proxy_image_path %>
    restart: always
    ports:
      - "127.0.0.1:3001:3001"
  web:
    image: <%= image_path %>
    ports:
      - "3000:3000"
    env_file:
      - .env/production/web
      - .env/production/database

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

  db-migrator:
    image: <%= image_path %>
    command: ["./bin/wait-for", "--timeout=300", "database:5432", "--", "bin/rails", "db:migrate"]
    env_file:
      - .env/production/database
      - .env/production/web
    deploy:
      restart_policy:
        condition: none

volumes:
  db_data:

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wellcar-0.0.3 lib/wellcar/templates/docker-stack.yml.erb
wellcar-0.0.2 lib/wellcar/templates/docker-stack.yml.erb
wellcar-0.0.1 lib/wellcar/templates/docker-stack.yml.erb