Initial (wip) staging deployment
This adds an initial configuration for staging. Note that we are doing this ahead of having the full infrastructure in all 3 DCs. So this this will result in some cross-DC writes for now (e.g. we have a single cache in IAD). We'll correct this as the infrastructure becomes available. We'll also run jobs on every app server, until we split them out to separate instances.
This commit is contained in:
committed by
Mike Dalessio
parent
4b4593dd01
commit
11a38a4526
@@ -2,7 +2,7 @@
|
||||
|
||||
# If running the rails server then create or migrate existing database
|
||||
if [ "${1}" == "./bin/thrust" ] && [ "${2}" == "./bin/rails" ] && [ "${3}" == "server" ]; then
|
||||
./bin/rails db:prepare
|
||||
MIGRATE=1 ./bin/rails db:prepare
|
||||
fi
|
||||
|
||||
exec "${@}"
|
||||
|
||||
Reference in New Issue
Block a user