Added SECRET_KEY_BASE parameter
This commit is contained in:
@@ -19,6 +19,8 @@ ENV RAILS_ENV production
|
||||
ENV RACK_ENV production
|
||||
ENV NODE_ENV production
|
||||
|
||||
ENV SECRET_KEY_BASE="08898973823f6f1d121ce30fb8adc1c559dcfc08f358cfc0298e4aad81b8c9d798e8249e3a4b26c04255cf8b2d71eaf8eda865d173ae3fe6fb1a599d1b1fa260"
|
||||
|
||||
RUN git clone https://github.com/snibox/snibox.git /app && cd /app && git reset --hard $GIT_HASH
|
||||
|
||||
COPY . /app
|
||||
|
||||
@@ -34,3 +34,7 @@ docker run -d --name snibox \
|
||||
`DATABASE` - Defines sqlite3 database file location within container.
|
||||
|
||||
_Default_: `/app/db/database/snibox.sqlite3`
|
||||
|
||||
---
|
||||
|
||||
`SECRET_KEY_BASE` - Defines `secret_key_base` parameter for your Rails application. Default one is included into the image already, but general recommendation is to change it.
|
||||
@@ -2,4 +2,4 @@ production:
|
||||
adapter: sqlite3
|
||||
pool: 5
|
||||
timeout: 5000
|
||||
database: <%= ENV['DATABASE'] || "db/database/snibox.sqlite3" %>
|
||||
database: <%= ENV['DATABASE'] || "db/database/snibox.sqlite3" %>
|
||||
Reference in New Issue
Block a user