mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
|
_format_version: "1.1"
|
||
|
services:
|
||
|
- url: http://auth:9999/verify
|
||
|
routes:
|
||
|
- paths: [/auth/v1/verify]
|
||
|
plugins:
|
||
|
- name: cors
|
||
|
- url: http://auth:9999/callback
|
||
|
routes:
|
||
|
- paths: [/auth/v1/callback]
|
||
|
plugins:
|
||
|
- name: cors
|
||
|
- url: http://auth:9999/authorize
|
||
|
routes:
|
||
|
- paths: [/auth/v1/authorize]
|
||
|
plugins:
|
||
|
- name: cors
|
||
|
- url: http://auth:9999/
|
||
|
routes:
|
||
|
- paths: [/auth/v1/]
|
||
|
plugins:
|
||
|
- name: cors
|
||
|
- name: key-auth
|
||
|
- url: http://rest:3000/
|
||
|
routes:
|
||
|
- paths: [/rest/v1/]
|
||
|
plugins:
|
||
|
- name: cors
|
||
|
- name: key-auth
|
||
|
- url: http://realtime:4000/socket/
|
||
|
routes:
|
||
|
- paths: [/realtime/v1/]
|
||
|
plugins:
|
||
|
- name: cors
|
||
|
- name: key-auth
|
||
|
- url: http://storage:5000/
|
||
|
routes:
|
||
|
- paths: [/storage/v1/]
|
||
|
plugins:
|
||
|
- name: cors
|
||
|
consumers:
|
||
|
- username: anon
|
||
|
keyauth_credentials:
|
||
|
- key: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYyNzIwODU0MCwiZXhwIjoxOTc0MzYzNzQwfQ.zcaQfHd3VA7XgJmdGfmV86OLVJT9s2MTmSy-e69BpUY
|
||
|
- username: service_role
|
||
|
keyauth_credentials:
|
||
|
- key: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIiwiaWF0IjoxNjI3MjA4NTQwLCJleHAiOjE5NzQzNjM3NDB9.pkT3PNpO4DtO45Ac5HK_TKCx8sGLgNtV__pr_ZrRSAU
|