Update docker-compose.yml

Signed-off-by: Andrei Boyanov <andrei.boyanov@gmail.com>
This commit is contained in:
Andrei Boyanov 2025-05-08 17:02:55 +02:00 committed by GitHub
parent a42cc8de71
commit 5279f4b77a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@ services:
image: traefik:v3.0
container_name: traefik
restart: always
ports:
- "80:80"
- "443:443"
@ -64,7 +65,7 @@ services:
- "traefik.docker.network=web"
# HTTP router -> redirect
- "traefik.http.routers.odoo-http.rule=Host(`emf1995.club`)"
- "traefik.http.routers.odoo-http.rule=Host(${URL})"
- "traefik.http.routers.odoo-http.entrypoints=web"
- "traefik.http.routers.odoo-http.middlewares=redirect-to-https"