-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KBP-175 KBP-181 #time 2h fix environment variable definition and add …
…sidekiq control in docker
- Loading branch information
İsmail Akbudak
committed
Jan 8, 2018
1 parent
dae9146
commit 1cd981c
Showing
27 changed files
with
70 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
# <%= app_name.capitalize %> | ||
|
||
# TODOs | ||
- Change email sender domain address and basic_auth info in `config/settings.yml` | ||
- Change email sender domain address in `config/initializers/devise.rb` | ||
- Add your secret keys to `.env.local` file | ||
|
||
<% unless @options[:skip_docker] %> | ||
# Docker development | ||
➜ ✗ docker-compose build | ||
➜ ✗ docker-compose run app bundle | ||
➜ ✗ docker-compose run app bundle exec rails db:create | ||
➜ ✗ docker-compose run app bundle exec rails db:migrate | ||
➜ ✗ docker-compose run app bundle exec rails db:seed | ||
➜ ✗ docker-compose up | ||
Look: localhost:3000 or lvh.me:3000 | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
|
||
BASIC_AUTH_IS_ACTIVE=no | ||
BASIC_AUTH_IS_ACTIVE=no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
|
||
BASIC_AUTH_IS_ACTIVE=yes | ||
BASIC_AUTH_IS_ACTIVE=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
templates/docker/docker_env_local.erb → templates/docker/docker_env_local_sample.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
|
||
|
||
REDISTOGO_URL=redis://redis:6379/0 | ||
|
||
##### Docker compose environments | ||
|
||
# Set Rails/Rack environment | ||
RACK_ENV=development | ||
POSTGRESQL_HOST=postgres | ||
REDIS_HOST=redis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
REDIS_HOST=redis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
REDISTOGO_URL=redis://redis:6379/0 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
templates/docker/docker_env_production.erb → ...docker_env_staging_production_sidekiq.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
|
||
|
||
REDISTOGO_URL= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
ROOT_PATH=http://localhost:3000 | ||
|
||
SECRET_KEY_BASE= | ||
|
||
ROLLBAR_ACCESS_TOKEN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ROOT_PATH=https://<%= app_name %>.herokuapp.com | ||
|
||
ROLLBAR_ACCESS_TOKEN= | ||
|
||
SECRET_KEY_BASE= | ||
|
||
ROLLBAR_ACCESS_TOKEN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ROOT_PATH=https://staging-<%= app_name %>.herokuapp.com | ||
|
||
ROLLBAR_ACCESS_TOKEN= | ||
|
||
SECRET_KEY_BASE= | ||
|
||
ROLLBAR_ACCESS_TOKEN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
ROOT_PATH=http://localhost:3000 | ||
|
||
SECRET_KEY_BASE= | ||
|
||
ROLLBAR_ACCESS_TOKEN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
|
||
# SMTP Get username and password from https://mailtrap.io | ||
SMTP_USER_NAME= | ||
SMTP_PASSWORD= | ||
SMTP_PORT=2525 | ||
SMTP_ADDRESS=smtp.mailtrap.io | ||
SMTP_AUTHENTICATION=cram_md5 | ||
SMTP_AUTHENTICATION=cram_md5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
|
||
# S3 Settings | ||
S3_BUCKET_NAME=<%= app_name %>-development | ||
AWS_RAW_URL=<%= app_name %>-development.s3.amazonaws.com | ||
AWS_ACCESS_KEY_ID= | ||
AWS_SECRET_ACCESS_KEY= | ||
AWS_SECRET_ACCESS_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
|
||
# S3 Settings | ||
S3_BUCKET_NAME=<%= app_name %> | ||
AWS_RAW_URL=<%= app_name %>.s3.amazonaws.com | ||
AWS_ACCESS_KEY_ID= | ||
AWS_SECRET_ACCESS_KEY= | ||
AWS_SECRET_ACCESS_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
|
||
# S3 Settings | ||
S3_BUCKET_NAME= | ||
AWS_RAW_URL= | ||
AWS_ACCESS_KEY_ID= | ||
AWS_SECRET_ACCESS_KEY= | ||
AWS_SECRET_ACCESS_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
|
||
# S3 Settings | ||
S3_BUCKET_NAME=<%= app_name %>-staging | ||
AWS_RAW_URL=<%= app_name %>-staging.s3.amazonaws.com | ||
AWS_ACCESS_KEY_ID= | ||
AWS_SECRET_ACCESS_KEY= | ||
AWS_SECRET_ACCESS_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
RAILS_FORCE_SSL= |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.