Sha256: 8d56932a05d19da9f726adac6a8e96229621b0003a871cc435b982f8e738cc9f

Contents?: true

Size: 802 Bytes

Versions: 8

Compression:

Stored size: 802 Bytes

Contents

version: '3'
services:
  mysql:
    image: mysql:8
    container_name: square-mysql
    command: --default-authentication-plugin=mysql_native_password
    volumes:
      - db_data:/var/lib/mysql
    environment:
      MYSQL_ROOT_PASSWORD: dev
      MYSQL_DATABASE: is_this_used_test
    ports:
      - "13306:3306"

  ruby:
    build:
      context: .
      dockerfile: ./Dockerfile
    depends_on:
      - mysql
    working_dir: /app
    volumes:
      - .:/app
      - bundle:/bundle
      - ./wait-for-it.sh:/usr/sbin/wait-for-it.sh:ro
    environment:
      - IS_THIS_USED_DATABASE=is_this_used_test
      - IS_THIS_USED_DB_USER=root
      - IS_THIS_USED_DB_HOST=mysql
      - IS_THIS_USED_DB_PASSWORD=dev
    links:
      - mysql
    tty: true
    stdin_open: true

volumes:
  db_data:
  bundle:

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
is_this_used-0.1.14 docker-compose.yml
is_this_used-0.1.13 docker-compose.yml
is_this_used-0.1.12 docker-compose.yml
is_this_used-0.1.11 docker-compose.yml
is_this_used-0.1.10 docker-compose.yml
is_this_used-0.1.9 docker-compose.yml
is_this_used-0.1.8 docker-compose.yml
is_this_used-0.1.7 docker-compose.yml