microservices are able to run (#5)

This commit is contained in:
Dmitry Afanasyev
2023-09-24 06:32:49 +03:00
committed by GitHub
parent 315284fc38
commit 7e995866ff
171 changed files with 676 additions and 425 deletions

18
deploy/Caddyfile Normal file
View File

@@ -0,0 +1,18 @@
# Telegram bot. Redirects to bot-service
:8083 {
reverse_proxy bot_service:8080
header Strict-Transport-Security max-age=31536000;
# Removing some headers for improved security:
header -Server
}
# Telegram bot. Redirects to test-server ip
:8084 {
reverse_proxy chat_service:1338
header Strict-Transport-Security max-age=31536000;
# Removing some headers for improved security:
header -Server
}