Skip to content

Commit

Permalink
Merge pull request #53 from mattrayner/mattrayner/add-secret-key-base
Browse files Browse the repository at this point in the history
Add SECRET_KEY_BASE environment variables
  • Loading branch information
mattrayner committed Aug 31, 2018
2 parents 8769384 + 22cd619 commit 671a2c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ARG AIRBRAKE_PROJECT_KEY
ARG BANDIERA_URL
ARG APPLICATION_INSIGHTS_INSTRUMENTATION_KEY
ARG RAILS_LOG_TO_STDOUT
ARG SECRET_KEY_BASE
ARG RACK_ENV=production

# Add Gemfiles.
Expand Down Expand Up @@ -52,6 +53,7 @@ ENV BANDIERA_URL $BANDIERA_URL
ENV APPLICATION_INSIGHTS_INSTRUMENTATION_KEY $APPLICATION_INSIGHTS_INSTRUMENTATION_KEY
ENV RAILS_LOG_TO_STDOUT $RAILS_LOG_TO_STDOUT
ENV RACK_ENV $RACK_ENV
ENV SECRET_KEY_BASE $SECRET_KEY_BASE
ENV RAILS_SERVE_STATIC_FILES true

# Add additional labels to our image
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ build: # Using the variables defined above, run `docker build`, tagging the imag
--build-arg BANDIERA_URL=$(BANDIERA_URL) \
--build-arg APPLICATION_INSIGHTS_INSTRUMENTATION_KEY=$(APPLICATION_INSIGHTS_INSTRUMENTATION_KEY) \
--build-arg RAILS_LOG_TO_STDOUT=$(RAILS_LOG_TO_STDOUT) \
--build-arg SECRET_KEY_BASE=$(SECRET_KEY_BASE) \
--build-arg RACK_ENV=$(RACK_ENV) \
--build-arg GIT_SHA="$(GIT_SHA)" \
--build-arg GIT_TAG="$(GIT_TAG)" \
Expand Down

0 comments on commit 671a2c3

Please sign in to comment.