Sha256: da15dbf01d47f7da865f40c672ae6bc1fe0bdf5e15f99e8a4018beb87d256ef9

Contents?: true

Size: 572 Bytes

Versions: 1

Compression:

Stored size: 572 Bytes

Contents

services:
  rspec:
    build: .
    environment:
      DATABASE_URL: "mysql2://${MYSQL_USER}:${MYSQL_PASSWORD}@mysql/${MYSQL_DATABASE}"
    volumes:
      - ./:/usr/src/app/
    depends_on:
      mysql:
        condition: service_healthy
    command: bundle exec appraisal rspec

  mysql:
    image: mysql:5.7
    platform: linux/amd64
    environment:
      - MYSQL_ALLOW_EMPTY_PASSWORD=yes
      - MYSQL_DATABASE
      - MYSQL_USER
      - MYSQL_PASSWORD
    healthcheck:
      test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
      timeout: 20s
      retries: 10

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sql_enum-1.0.0 docker-compose.yml