-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Test
committed
Sep 13, 2024
1 parent
240a38f
commit 47a915e
Showing
5 changed files
with
39 additions
and
13 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
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 |
---|---|---|
@@ -1 +1 @@ | ||
1.0.6-alpha | ||
1.0.7-alpha |
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
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 |
---|---|---|
@@ -1,7 +1,15 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# Ensure Redis URL is set correctly | ||
export REDIS_URL=redis://redis:6379/1 | ||
export SECRET_KEY_BASE=$(bin/rails secret) | ||
|
||
# Ensure SECRET_KEY_BASE is set | ||
if [ -z "$SECRET_KEY_BASE" ]; then | ||
export SECRET_KEY_BASE=$(bin/rails secret) | ||
fi | ||
|
||
# Migrate the database before starting Sidekiq | ||
bundle exec rails db:migrate RAILS_ENV=production | ||
|
||
exec "$@" |