1
0
mirror of https://github.com/XFox111/MuiCharts.git synced 2026-04-22 06:51:05 +03:00

Minor backend refactoring

This commit is contained in:
2024-02-22 19:16:17 +00:00
parent fcb1e7f687
commit ffab73b530
5 changed files with 20 additions and 10 deletions
+10 -2
View File
@@ -5,13 +5,21 @@ services:
image: "muicharts-backend:latest"
build:
context: ./backend
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/swagger"]
interval: 30s
timeout: 10s
retries: 5
ports:
- "80:80"
- "443:443"
volumes:
- ./persistence:/persistence
- ./persistence:/var/persistence
environment:
- "HTTPS_PORTS=443"
- "LettuceEncrypt:AcceptTermsOfService=true"
- "LettuceEncrypt:DomainNames:0=containers.xfox111.net"
- "LettuceEncrypt:DomainNames:0=example.com"
- "LettuceEncrypt:DomainNames:1=www.example.com"
- "LettuceEncrypt:EmailAddress=eugene@xfox111.net"
- "ConnectionStrings:DataContext=Data Source=/var/persistence/data.db"
- "LettuceEncrypt:CertificatesPath=/var/persistence"