-
RubyGems. org is the Ruby community's gem hosting service. Instantly publish your gems and then install them. Use the API find out more about available gems. Become a contributor and improve the site yourself.Pricing:
- Open Source
#Front End Package Manager #Package Manager #Code Collaboration 95 social mentions
-
Docker Hub is a cloud-based registry servicePricing:
- Open Source
Version: "3" Services: database: # Official postgres image available in https://hub.docker.com/ image: postgres # There are many types of volumes, this is a named volume, which will store database in docker directory # Named volumes must be listed under the top-level volumes key, as shown at bottom of the file volumes: - db_data:/var/lib/postgresql/data environment: - POSTGRES_PASSWORD=password web: image: rails_app # Command will replace CMD from Dockerfile command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'" # Path on the host, relative to the Compose file. 'app' is a WORKDIR name from Dockerfile # This volume will allow you to run the Rails app with Docker Compose # and made live changes without rebuilding the image volumes: - .:/app ports: - "3001:3000" # 'database' is Postgres service name from the top of the file - it will allow communication between containers depends_on: - database environment: - POSTGRES_PASSWORD=password - POSTGRES_USERNAME=postgres - POSTGRES_HOST=database # it's Postgres service name from the top of the file Volumes: db_data:.
#Developer Tools #Web Servers #Web And Application Servers 306 social mentions