Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: '3'
services:
mongo_server:
image: 'mongo'
ports:
- '27017:27017'
volumes:
- ~/data/db:/data/db

cassandra_server:
image: 'cassandra'
ports:
- '9042:9042'
volumes:
- ~/cassandra/data:/var/lib/cassandra
11 changes: 11 additions & 0 deletions DevOps/labs/lab_02/scripts/ruby.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
echo "#### Installing Ruby 2.4 ####"
apt-get update
apt-add-repository -y ppa:brightbox/ruby-ng
apt-get update
apt-get install -y ruby2.4 ruby2.4-dev
echo "#### Version ####"
ruby -v
echo "#### Installing Gem Bundler ####"
sudo gem install bundler

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider add a new empty line at the end of the file.

12 changes: 12 additions & 0 deletions DevOps/labs/lab_02/scripts/ruby_for_agent_ubuntu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
echo "#### Installing Ruby 2.4 ####"
apt-get update
apt-get install software-properties-common
apt-add-repository -y ppa:brightbox/ruby-ng
apt-get update
apt-get install -y ruby2.4 ruby2.4-dev
echo "#### Version ####"
ruby -v
echo "#### Installing Gem Bundler ####"
gem install bundler

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider add a new empty line at the end of the file.