diff --git a/scripts/docker-compose.yml b/scripts/docker-compose.yml index 4aa1c84a..cd07024e 100644 --- a/scripts/docker-compose.yml +++ b/scripts/docker-compose.yml @@ -39,7 +39,6 @@ services: - "/var/run/docker.sock:/var/run/docker.sock" - "./acme.json:/letsencrypt/acme.json" labels: - - "traefik.http.routers.dashboard.rule=Host(`traefik.test-wonchae.p-e.kr`)" - "traefik.http.routers.dashboard.service=api@internal" - "traefik.http.routers.dashboard.middlewares=auth" - "traefik.http.middlewares.auth.basicauth.users=test:$$apr1$$H6uskkkW$$IgXLP6ewTrSuBkTrqE8wj/,test2:$$apr1$$d9hr9HBB$$4HxwgUir3HP4EsggP/QNo0" @@ -62,7 +61,7 @@ services: - "traefik.enable=true" - "traefik.http.services.server.loadbalancer.server.port=8080" - "traefik.http.routers.server.entrypoints=websecure" - - "traefik.http.routers.server.rule=Host(`api.test-wonchae.p-e.kr`) && !PathPrefix(`/dashboard`)" + - "traefik.http.routers.server.rule=Host(`api.test-wonchae.p-e.kr`)" - "traefik.http.routers.server.tls.certresolver=letsencrypt" - "traefik.docker.network=mhn-net" networks: