From d0fd3175b5386b0f45c7552fd3325f0191336aae Mon Sep 17 00:00:00 2001 From: syed-ali-tw Date: Tue, 19 Nov 2024 13:10:06 +0000 Subject: [PATCH] Add env values for local run to allow moving away from Rails.secrets which is to be deprecated --- projects/publisher/docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/publisher/docker-compose.yml b/projects/publisher/docker-compose.yml index 1b875d57..dc34d02f 100644 --- a/projects/publisher/docker-compose.yml +++ b/projects/publisher/docker-compose.yml @@ -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 @@ -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