Sha256: 8e4582683646bca1d5b52abfde3634de9a363cd6412b078fd215e5750a70920c

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

version: '3.3'

services:
  app: &app
    build:
      context: .
      args:
        NODE_MAJOR: '12'
        YARN_VERSION: '1.22.4'
    image: bootstrap-form:0.0.1
    tmpfs:
      - /tmp

  shell: &shell
    <<: *app
    stdin_open: true
    tty: true
    volumes:
      - .:/app:cached
      # - rails_cache:/app/tmp/cache
      # - bundle:/app/vendor/bundle
      # - node_modules:/app/node_modules
      # - packs:/app/public/packs
      - /etc/passwd:/etc/passwd:ro
      # One or the other of the following lines might be redundant, or one might be
      # better than the other.
      - ~/.ssh:${HOME}/.ssh
      - ${SSH_AUTH_SOCK}:/ssh-agent
    environment:
      - SSH_AUTH_SOCK=/ssh-agent
      - NODE_ENV=development
      - RAILS_ENV=${RAILS_ENV:-development}
      - BOOTSNAP_CACHE_DIR=/usr/local/bundle/_bootsnap
      - WEBPACKER_DEV_SERVER_HOST=webpacker
      - WEB_CONCURRENCY=1
      - HISTFILE=/app/.bash_history
    command: /bin/bash

  # server:
  #   <<: *shell
  #   command: sh -c "cd demo/app && bundle exec rails server -b 0.0.0.0"
  #   ports:
  #     - '3000:3000'

# volumes:
#   bundle:
#   node_modules:
#   rails_cache:
#   packs:

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap_form-5.1.0 docker-compose.yml