Skip to content

Commit 4c628e1

Browse files
committed
Fix: Redis auth in K8s is likely broken. & K8s ingress routes to services that don’t exist in this repo.
1 parent 3b16795 commit 4c628e1

24 files changed

Lines changed: 961 additions & 528 deletions

File tree

.env

Lines changed: 0 additions & 46 deletions
This file was deleted.

.env.blockchain

Lines changed: 0 additions & 117 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,22 +136,22 @@ jobs:
136136
matrix:
137137
include:
138138
- service: frontend
139-
context: ./frontend
140-
dockerfile: ./frontend/Dockerfile
139+
context: .
140+
dockerfile: ./infrastructure/docker/production/frontend/frontend.Dockerfile
141141
image_suffix: frontend
142142
changed: frontend
143143
- service: api-gateway
144-
context: ./backend
144+
context: .
145145
dockerfile: ./infrastructure/docker/production/api-gateway/api-gateway.Dockerfile
146146
image_suffix: api-gateway
147147
changed: api-gateway
148148
- service: analysis-engine
149-
context: ./backend
149+
context: .
150150
dockerfile: ./infrastructure/docker/production/analysis-engine/analysis-engine.Dockerfile
151151
image_suffix: analysis-engine
152152
changed: analysis-engine
153153
- service: bounty-manager
154-
context: ./backend
154+
context: .
155155
dockerfile: ./infrastructure/docker/production/bounty-manager/bounty-manager.Dockerfile
156156
image_suffix: bounty-manager
157157
changed: bounty-manager

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ backend/target/
1111
!.env.*.example
1212
blockchain/.env
1313
backend/.env
14+
backend/**/.env
15+
config/**/*.env
1416

1517
# Node modules
1618
node_modules/

backend/api-gateway/.env

Lines changed: 0 additions & 3 deletions
This file was deleted.

backend/api-gateway/src/config.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,11 @@ impl AppConfig {
522522
if let Ok(url) = std::env::var("BOUNTY_MANAGER_URL") {
523523
config.services.bounty_manager_url = url;
524524
}
525+
if let Ok(path) = std::env::var("UPLOAD_PATH")
526+
.or_else(|_| std::env::var("UPLOAD_DIR"))
527+
{
528+
config.services.upload_path = path;
529+
}
525530

526531
// Feature flags
527532
if let Ok(val) = std::env::var("ENABLE_MFA") {

config/development/analysis-engine.env

Lines changed: 0 additions & 59 deletions
This file was deleted.

config/development/user-service.env

Lines changed: 0 additions & 19 deletions
This file was deleted.

config/production/analysis-engine.env

Lines changed: 0 additions & 59 deletions
This file was deleted.

config/production/user-service.env

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)