Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add env values for local run to allow moving away from Rails.secrets #799

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions projects/publisher/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ services:
MONGODB_URI: "mongodb://mongo-3.6/publisher"
TEST_MONGODB_URI: "mongodb://mongo-3.6/publisher-test"
REDIS_URL: redis://publisher-redis
SECRET_KEY_BASE: p647607dffea898a0f668fea448896db7ca3a0527f9e926db3ae629617cd64e16d2b4d357dcb312ed3f4ae5daaad98c589bb0ef1da4c251c0234b457d2e4a49f
LINK_CHECKER_API_SECRET_TOKEN: stk3ffv3DvpKfHmsU4pbxsxc

publisher-app: &publisher-app
<<: *publisher
Expand All @@ -43,6 +45,9 @@ services:
REDIS_URL: redis://publisher-redis
VIRTUAL_HOST: publisher.dev.gov.uk
BINDING: 0.0.0.0
SECRET_KEY_BASE: p647607dffea898a0f668fea448896db7ca3a0527f9e926db3ae629617cd64e16d2b4d357dcb312ed3f4ae5daaad98c589bb0ef1da4c251c0234b457d2e4a49f
LINK_CHECKER_API_SECRET_TOKEN: stk3ffv3DvpKfHmsU4pbxsxc

expose:
- "3000"
command: bin/dev web
Expand Down