Skip to content

Не хватает конфигурационного файла для Traefik #1

@wmag777

Description

@wmag777

https://github.com/php-fart/laravel-profiling/blame/0478bdf5b8b5f6e54937d433933ae86b5e82e8f7/docker-compose.yaml#L29

при попытке запуска на моем ПК, вываливается ошибка:

my1-reverse-proxy | time="2024-10-18T07:19:28Z" level=info msg="Configuration loaded from flags."
my1-reverse-proxy | time="2024-10-18T07:19:28Z" level=error msg="Cannot start the provider *file.Provider: error using file configuration provider, neither filename or directory defined"

Я так понял, Traefik это какой то умный ВэбСервер. Но судя по всему не очень популярный. Первый раз про него слышу.
Попытался я подкинуть команды :

  - "--providers.docker"
  - "--providers.file.directory=/etc/traefik/conf.d"
  - "--providers.file.filename=/etc/traefik/traefik.yml"

ничто из этого не помогло запустить сервер

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions