Initial commit

This commit is contained in:
Yaser
2026-08-13 19:50:53 +03:30
commit 38084458fe
879 changed files with 95198 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
apiVersion: ambassador/v1
kind: Module
name: ambassador
config: {}

11
config/gateway/auth.yaml Normal file
View File

@@ -0,0 +1,11 @@
---
apiVersion: ambassador/v1
kind: AuthService
name: authentication
auth_service: auth:8005
path_prefix: /auth
proto: http
allowed_authorization_headers:
- "Authorization"
allowed_request_headers:
- "Authorization"

View File

@@ -0,0 +1,27 @@
---
apiVersion: ambassador/v1
kind: Mapping
name: peatio_api_mapping
host: www.app.local:8080
prefix: /api/peatio/v2/
rewrite: /api/v2/
service: peatio.local:3000
---
apiVersion: ambassador/v1
kind: Mapping
name: peatio_app_mapping
host: peatio.app.local:8080
prefix: /
rewrite: /
service: peatio.local:3000
---
apiVersion: ambassador/v1
kind: Mapping
name: ranger_api_mapping
host: ws.app.local:8080
use_websocket: true
prefix: /api/ranger/v2/
rewrite: /
service: ws.local:8081