version: "3.3"
services:
  {{.DirName}}:
    image: {{.DirName}}
    container_name: {{.DirName}}_container
    restart: unless-stopped
    networks:
      - Backend
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.{{.DirName}}.rule=Host('{{.DirName}}.csnetworkx.dev')"
      - "traefik.http.routers.{{.DirName}}.entrypoints=websecure"
      - "traefik.http.services.{{.DirName}}.loadbalancer.server.port=80"
      - "traefik.http.routers.{{.DirName}}.service={{.DirName}}"
      - "traefik.http.routers.{{.DirName}}.tls.certresolver=acme"
networks:
  Backend:
    external: true
