|
2 months ago | |
---|---|---|
app | 2 months ago | |
bin | 2 months ago | |
config | 2 months ago | |
db | 2 months ago | |
lib | 10 months ago | |
log | 11 months ago | |
public | 10 months ago | |
script | 2 months ago | |
spec | 11 months ago | |
tmp | 11 months ago | |
vendor | 2 months ago | |
.browserslistrc | 11 months ago | |
.env.docker | 2 months ago | |
.gitignore | 2 months ago | |
.rspec | 11 months ago | |
.rubocop.yml | 11 months ago | |
.ruby-version | 2 months ago | |
Dockerfile | 2 months ago | |
Gemfile | 2 months ago | |
Gemfile.lock | 2 months ago | |
Procfile | 10 months ago | |
README.md | 2 months ago | |
Rakefile | 11 months ago | |
babel.config.js | 2 months ago | |
config.ru | 11 months ago | |
docker-compose.yml | 2 months ago | |
package.json | 2 months ago | |
postcss.config.js | 11 months ago | |
yarn.lock | 2 months ago |
This repo is a designed to be a Dockerized Rails 6 template:
bundle
Download latest copy of FontAwesome and replace vendor/fontawesome-pro/** (npm auth access has expired)
yarn install --check-files
Find/replace all TODO
docker-compose up --build
This service has dependencies on the following services.
Follow the Docker Getting Started guide to get docker
, docker-machine
and docker-compose
. This project contains helper scripts to build, test, & push images to dockerhub.
1. Build image: $ script/build
$ script/test
Docker compose is used for Jenkins and local development. Use the information below to configure each environment.
To start the application using docker compose locally:
$ docker-compose up --build
$ open http://localhost:3000
Variable | Description | Default |
---|---|---|
APP_NAME |
App name | app |
APP_TITLE |
App title | TODO |
DATABASE_URL |
Database URL | postgres://localhost:5432/app_development |
DB_CONNECT_TIMEOUT |
Db connect timeout | 10 |
DB_MAX_CONNECTIONS |
Db Max Connections | 16 |
DB_MIN_CONNECTIONS |
Db Minimum Connections | 5 |
DB_SOCKET_TIMEOUT |
Db socket timeout | 5 |
DB_WAIT_QUEUE_TIMEOUT |
Db Wait queue timeout | 5 |
LOG_LEVEL |
Log level | warn |
REDIS_URL |
Redis Url | redis://localhost:6379/0 |
SMTP_HOST |
Smpt address | localhost |
SMTP_PORT |
Smpt port | 1025 |
WEBPACKER_HOST |
Webpacker host | localhost |
WEBPACKER_DEV_SERVER_HOST |
Webpacker dev host | 0.0.0.0 |