View gemfile
source 'https://rubygems.org' | |
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | |
ruby '2.6.3' | |
gem "active_hash" | |
gem "activerecord-postgis-adapter" | |
gem 'rails', '~> 5.2.3' | |
gem 'rails-i18n', '~> 5.1' |
View DockerFile
FROM ruby:2.6.3 | |
RUN apt-get update \ | |
&& apt-get -y install curl wget git ssh mupdf-tools mc vim | |
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \ | |
&& apt-get install -y nodejs | |
View docker-compose.yml
version: "3.4" | |
x-mailer: | |
&mailer | |
ADMIN_NAME: "Бендер Родригес" | |
ADMIN_EMAIL: 111@gmail.com | |
ADMIN_PASSWORD: 111 | |
DOMAIN_NAME: gmail.com | |
SMTP_SERVER: smtp.gmail.com | |
x-postgres_env: |
View setup vue rails
``` bash | |
docker run --rm -v ${PWD}:/usr/src -w /usr/src -ti ruby:2.5.1 bash ; cd app | |
``` | |
``` bash | |
gem install rails | |
# Last, we'll create the project skeleton (your options may vary) - but let's | |
# disable running bundler after the project creation, as it may take a couple | |
# of minutes, and we'll end up removing this container, so the install is of |