add configuration files and update docker-compose for hydra and redis services
This commit is contained in:
28
traefik.yml
Normal file
28
traefik.yml
Normal file
@ -0,0 +1,28 @@
|
||||
http:
|
||||
routers:
|
||||
id-app:
|
||||
rule: "Host(`id.logidex.ru`)"
|
||||
entryPoints:
|
||||
- websecure
|
||||
service: id-app
|
||||
tls:
|
||||
certResolver: default
|
||||
|
||||
oauth2-app:
|
||||
rule: "Host(`oauth2.logidex.ru`)"
|
||||
entryPoints:
|
||||
- websecure
|
||||
service: oauth2-app
|
||||
tls:
|
||||
certResolver: default
|
||||
|
||||
services:
|
||||
id-app:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://logidexid:80" # имя контейнера с NGINX внутри
|
||||
|
||||
oauth2-app:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://logidexid:80" # имя контейнера с NGINX внутри
|
||||
Reference in New Issue
Block a user