-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add docker capability * add example of env to run with docker * update readme to include run with docker section * update bundle version * update dockerfile to use bundler version 2 * remove gojek reference on env example * remove gojek reference on application.yml sample
- Loading branch information
Showing
6 changed files
with
56 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/log/* | ||
!/log/.keep | ||
/tmp | ||
.idea | ||
.env | ||
*.swp | ||
config/application.yml | ||
public/assets/* | ||
dump.rdb | ||
coverage | ||
.git |
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,20 @@ | ||
GATE_OAUTH_CLIENT_ID= | ||
GATE_OAUTH_CLIENT_SECRET= | ||
GATE_HOSTED_DOMAIN= | ||
GATE_SERVER_URL= | ||
GATE_CONFIG_SECRET= | ||
GATE_EMAIL_DOMAIN= | ||
GATE_HOSTED_DOMAINS= | ||
USER_ROLES=employee,consultant | ||
PRODUCT_LIST= | ||
CACHE_PORT= | ||
CACHE_HOST= | ||
GATE_DB_HOST= | ||
GATE_DB_PORT= | ||
GATE_DB_USER= | ||
GATE_DB_PASSWORD= | ||
DEFAULT_HOST_PATTERN=s* | ||
UID_BUFFER=5000 | ||
SAML_APPS=datadog | ||
GATE_URL= | ||
SIGN_IN_TYPE= |
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,17 @@ | ||
FROM ruby:2.4 | ||
|
||
RUN apt-get update | ||
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash | ||
RUN apt-get update -qq && apt-get install -y build-essential nodejs git | ||
|
||
RUN mkdir /app | ||
WORKDIR /app | ||
|
||
COPY Gemfile /app | ||
COPY Gemfile.lock /app | ||
|
||
RUN gem install bundler -v '>= 2.0' | ||
RUN bundle install --without development | ||
COPY . /app | ||
|
||
CMD [ "bundle", "exec", "rails", "s" ] |
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 |
---|---|---|
|
@@ -415,4 +415,4 @@ DEPENDENCIES | |
whenever | ||
|
||
BUNDLED WITH | ||
1.17.3 | ||
2.0.1 |
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