Hello,
This is my docker-compose.yaml
networks:
network:
driver: bridge attachable: trueservices:
traefik:
image: "traefik:v3.4" container_name: traefik_router restart: unless-stopped security_opt: - no-new-privileges:true networks: - network command: - "--configfile= ./traefik/traefik.yaml" ports: - "80:80" - "443:443" - "8080:8080" volumes: - "/var/run/docker.sock:/var/run/docker.sock:ro" - "./apache-php/certs:/certs:ro"
My traefik.yaml
http:
routers:
dashboard: rule: Host(\`traefik.myDomain.fr\`) service: api@internal entryPoints: - webapiapi:
dashboard: true
insecure: true
entryPoints:
web:
address: ":80"websecure:
address: ":443"webapi:
address: ":8080"providers:
file:
filename: ./config.yaml watch: truedocker:
exposedByDefault: false
My config.yaml
http:
services:
symfony: loadBalancer: servers: - url: "symfony_url:9083" front: loadBalancer: servers: - url: "front_url:81"routers:
symfony-router: entryPoints: - web rule: "Host(\`symfony_url\`)" service: symfony-service front-router: entryPoints: - web rule: "Host(\`front_url\`)" service: front-service
Nothing working, do you have an idea?