add configuration files and update docker-compose for hydra and redis services

This commit is contained in:
2025-08-06 04:09:21 +03:00
parent 59743cf9cc
commit 247934ba7c
7 changed files with 124 additions and 18 deletions

28
traefik.yml Normal file
View 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 внутри