diff --git a/docker-compose.yml b/docker-compose.yml
index eae079b..5b8de86 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -50,11 +50,12 @@ services:
       - "8080:8080"
     volumes:
       - traefik_data:/data
-      - ./traefik.yml:/etc/traefik/traefik.yml
+      - ./traefik.yml:/traefik.yml
       - /var/run/docker.sock:/var/run/docker.sock:ro
     restart: unless-stopped
     networks:
       - app-network
+    command: --configFile=/traefik.yml
 
   mariadb:
     image: mariadb:lts