Docker + CI/CD
All checks were successful
Build and deploy / Publish image (push) Successful in 49s

This commit is contained in:
2025-01-02 15:56:23 +03:00
parent 947906b8a7
commit 0453befc60
5 changed files with 116 additions and 14 deletions

33
docker-compose.yml Normal file
View File

@@ -0,0 +1,33 @@
services:
app:
container_name: Otchislator
image: git.zetcraft.ru/serega404/otchislator:main
ports:
- "8025:80"
volumes:
- /srv/otchislator/pdfs:/app/PDFCache
environment:
- BOT_TOKEN=123:ABC
- ChatId=
- Email:Port=587
- Email:Address=otchislator@server.ru
- Email:Host=server.ru
- Email:Name=Отчислятор
- AzureAd:Instance=https://login.microsoftonline.com/
- AzureAd:TenantId=sfedu.ru
- AzureAd:ClientId=123
- AzureAd:ClientSecret=123
- AzureAd:Domain=sfedu.onmicrosoft.com
- AzureAd:CallbackPath=/signin-oidc
- GotenbergSharpClient:ServiceUrl=http://gotenberg:3000
- GotenbergSharpClient:HealthCheckUrl=http://gotenberg:3000/health
- GotenbergSharpClient:RetryPolicy:Enabled=true
- GotenbergSharpClient:RetryPolicy:RetryCount=4
- GotenbergSharpClient:RetryPolicy:LoggingEnabled=true
- TZ=Europe/Moscow
restart: always
gotenberg:
image: gotenberg/gotenberg:8
ports:
- "3005:3000"
restart: always