This commit is contained in:
33
docker-compose.yml
Normal file
33
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user