mirror of
https://github.com/XFox111/MuiCharts.git
synced 2026-04-22 06:51:05 +03:00
26 lines
736 B
YAML
26 lines
736 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
backend:
|
|
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:/var/persistence
|
|
environment:
|
|
- "HTTPS_PORTS=443"
|
|
- "LettuceEncrypt:AcceptTermsOfService=true"
|
|
- "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"
|