Sha256: a78ab764ab548625be13891bedad9ef13354ae1e2a2ecee5d4971419dc646029

Contents?: true

Size: 696 Bytes

Versions: 1

Compression:

Stored size: 696 Bytes

Contents

version: '3'

services:
  ruby:
    environment:
      - DATABASE_HOST=postgres
    build:
      args:
        - RUBY_VERSION=${RUBY_VERSION:-3.2.1}
      context: .
    volumes:
      - '.:/usr/src/app'
    depends_on:
      - postgres


  postgres:
    image: postgres:12
    environment:
      - POSTGRES_HOST_AUTH_METHOD=trust
      - POSTGRES_DB=jsonb_accessor
      - PGDATA=/var/lib/postgresql/data/pgdata
    volumes:                                                                                    
      - pg_data:/var/lib/postgresql/data/pgdata
    ports:
      - 5432:5432

volumes:                                                                                        
  pg_data:

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jsonb_accessor-1.3.8 docker-compose.yml