Skip to content
This repository was archived by the owner on Mar 22, 2021. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 66e413f

Browse files
committedSep 22, 2020
fixed rails master key due to two apps on same host
1 parent 50d9ffc commit 66e413f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎create_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
echo "" >> ./.env
2-
echo "RAILS_MASTER_KEY=$RAILS_MASTER_KEY" >> ./.env
2+
echo "DOCS_RAILS_MASTER_KEY=$RAILS_MASTER_KEY" >> ./.env

‎docker-compose.production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
environment:
2222
RAILS_ENV: "production"
2323
POSTGRES_DB: "production"
24-
RAILS_MASTER_KEY: $RAILS_MASTER_KEY
24+
DOCS_RAILS_MASTER_KEY: $RAILS_MASTER_KEY
2525
env_file:
2626
- ./.env
2727
command: "bundle exec rails server --binding 0.0.0.0 --port 3000"

0 commit comments

Comments
 (0)
This repository has been archived.