diff --git a/ai/compose.yml b/ai/compose.yml index 3bf9070..1d333db 100644 --- a/ai/compose.yml +++ b/ai/compose.yml @@ -73,7 +73,7 @@ services: hostname: syncthing restart: always ports: - - "127.0.0.1:8384:8384" + - "8384:8384" - "22000:22000" - "21027:21027/udp" environment: @@ -84,6 +84,17 @@ services: - /mnt/HoardingCow_docker_data/Syncthing/org-rw:/org-rw networks: - ai_backend + - ai_net + labels: + - "traefik.enable=true" + - "traefik.http.routers.syncthing-http.rule=Host(`syncthing.lazyworkhorse.net`)" + - "traefik.http.routers.syncthing-http.entrypoints=web" + - "traefik.http.routers.syncthing-http.middlewares=redirect-to-https" + - "traefik.http.routers.syncthing-https.rule=Host(`syncthing.lazyworkhorse.net`)" + - "traefik.http.routers.syncthing-https.entrypoints=websecure" + - "traefik.http.routers.syncthing-https.tls=true" + - "traefik.http.routers.syncthing-https.tls.certresolver=njalla" + - "traefik.http.services.syncthing.loadbalancer.server.port=8384" ollama: build: