Skip to content

Timeout when accessing service via HTTPS ​

When you use https://${服务名称}-ai.${微服名称}.heiyu.space to prompt Gateway timeout, this may indicate that the service defined in docker-compose.yml has not added traefik for the network interface. You can add the default network interface in docker-compose.yml, or specify the network interface only for the services exposed.

  1. Default network interface
yml
networks:
  default:
    external: true
    name: traefik-shared-network
  1. Specify network interface
yml
services:
  xxx:
    networks:
      - traefik-shared-network