Skip to content

Getting Started

  1. Clone the Local Ingress repository.
git clone https://github.com/skippyware/local-ingress && cd local-ingress
  1. Follow the installation instructions for your system.
  2. Start the stack.
docker compose up -d
  1. Add ingress-net network to projects/services compose file.
networks:
  ingress-net:
    name: ingress-net
  1. Add container labels and attach containers to projects/services compose file.
services:
  app:
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.example-app.rule=Host(`app.example.test`)"
      - "traefik.http.routers.example-app.entrypoints=websecure"
      - "traefik.http.routers.example-app.tls=true"
      - "traefik.http.routers.example-app.tls.certresolver=default"
      - "traefik.http.routers.example-app.service=example-app"
      - "traefik.http.services.example-app.loadbalancer.server.port=80"
      - "traefik.docker.network=ingress-net"
    networks:
      - default  # include any other docker networks first
      - ingress-net  # include ingress-net last
  1. Start projects/services.

  2. Access your project/service via the ingress: https://app.example.test