Traefik Configuration
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker-compose
- Lĩnh vực
- documentation
Hướng nghiên cứu
Trước tiên, hãy xem xét PR 684 và các ví dụ cấu hình hiện có của trang tài liệu; issue cung cấp cấu hình Docker Compose và Traefik để điều chỉnh. Công việc được hoàn tất khi cấu hình discovery-service của Traefik được công bố trong tài liệu ở một vị trí phù hợp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Not a bug but a thank you to the good work published in the PR https://github.com/syncthing/docs/pull/684 where I was able to get traefik to proxy the discovery service.
example compose file:
syncthing-discosrv:
image: syncthing/discosrv:1.29
container_name: syncthing-discosrv
volumes:
- syncthing-discover:/var/stdiscosrv
ports:
- 8880:8443
restart: unless-stopped
entrypoint: ["/bin/stdiscosrv", "--http", "--debug"]
example traefik file:
http:
routers:
syncthing-discovery-router:
rule: Host(`syncthing-discovery.example.com`)
service: syncthing-discovery-service
entryPoints:
- websecure
tls:
options: syncthing-discosrv
middlewares:
- syncthing-discovery-headers
services:
syncthing-discovery-service:
loadBalancer:
servers:
- url: http://10.0.0.10:8880
middlewares:
syncthing-discovery-headers:
passtlsclientcert:
pem: true
tls:
options:
syncthing-discosrv:
clientAuth:
# clientAuthType: RequireAnyClientCert # this was the example in the PR however i found the option below to work
clientAuthType: RequestClientCert
certificates:
- certFile: /etc/traefik/ssl/example.com.crt
keyFile: /etc/traefik/ssl/example.com.key
Hopefully this will help others and maybe the devs will publish the traefik config into the documentation
- Ngôn ngữ chính
- Python
- Star
- 327
- Fork
- 653
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của syncthing/docs
-
Autostart on Windows: Add note about broken --no-console when using the Startup folder method Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Dark theme Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
Tất cả issue của syncthing/docs
Issue tương tự
-
bug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
open-webui/open-webui#30750 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100