add custome certs to traefix alongside self-obtained ssl
Some checks failed
CI/CD / Backend & Frontend Checks (push) Has been cancelled
CI/CD / Deploy to Production (push) Has been cancelled

This commit is contained in:
2026-05-18 19:16:45 +03:30
parent 9da535c148
commit 2f3ce5d839
5 changed files with 165 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ name: east-guilan
services:
traefik:
image: traefik:v2.11
entrypoint: ["/bin/sh", "/traefik-entrypoint.sh"]
command:
- --providers.docker=true
- --providers.docker.exposedbydefault=false
@@ -38,6 +39,8 @@ services:
- "80:80"
- "443:443"
volumes:
- ./traefik/entrypoint.sh:/traefik-entrypoint.sh:ro
- ./certs:/certs:ro
- traefik_letsencrypt:/letsencrypt
- /var/run/docker.sock:/var/run/docker.sock:ro