Docker compose files on EXAMPLES.md are out of date
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- docker-compose
- Lĩnh vực
- documentation
Hướng nghiên cứu
Cập nhật các ví dụ Docker Compose trong EXAMPLES.md, bắt đầu với ví dụ standalone được liên kết trong issue, sau đó kiểm tra các đoạn mã Compose khác để tìm những thiết lập lỗi thời tương tự. Xác minh rằng các ví dụ bao gồm việc chấp nhận các điều khoản bắt buộc của Splunk và cú pháp Compose hiện tại, sử dụng tên service rõ ràng và cung cấp một quy trình khởi động cục bộ hoạt động được.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Heya! I was happy to find an easy way to throw up a local splunk instance via the examples page - thanks.
However, if you use the compose file as is:
version: "3.6"
services:
so1:
image: ${SPLUNK_IMAGE:-splunk/splunk:latest}
container_name: so1
environment:
- SPLUNK_START_ARGS=--accept-license
- SPLUNK_PASSWORD
ports:
- 8000:8000
There's a couple issues:
- most importantly you need to add
- SPLUNK_GENERAL_TERMS=--accept-sgt-current-at-splunk-comor else it won't start. Thank you for the very helpful error though!! (so1 | For example: docker run -e SPLUNK_GENERAL_TERMS=--accept-sgt-current-at-splunk-com -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_PASSWORD splunk/splunk). This causes it fatally stop so should be fixed - you don't need
container_name: so1- it will use the service name above - i suggest renaming
so1to besplunk. I know there's lots more uses of this service name in the example doc, butso1isn't useful when you dodocker ps- especially if you have a couple dozen containers running like i do. Later on you can even renameuf1tosplunk-forwarder. We've got the power to have nice names ...yes!! version: "3.6"can be removed - docker even complains ``versionis obsolete, it will be ignored, please remove it to avoid potential confusion- make it a happy path and just put a janky default password in there. If you want to get fancy, you can use an
.envfile that has a random password in it like these fine docs here do - one copy and paste your secure!
Here's what I ended up with that worked:
services:
splunk:
image: ${SPLUNK_IMAGE:-splunk/splunk:latest}
environment:
- SPLUNK_START_ARGS=--accept-license
- SPLUNK_PASSWORD=${SPLUNK_PASSWORD:-password123}
- SPLUNK_GENERAL_TERMS=--accept-sgt-current-at-splunk-com
ports:
- 8000:8000
sprinkle these changes through out the whole doc and keep up the good work!
- Ngôn ngữ chính
- Python
- Star
- 554
- Fork
- 278
- Merge trung bình
- 23 giờ 25 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 splunk/docker-splunk
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
splunk/docker-splunk#738 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
splunk/docker-splunk#737 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
splunk/docker-splunk#732 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
splunk/docker-splunk#731 · 1 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
splunk/docker-splunk#724 ·
Tất cả issue của splunk/docker-splunk
Issue tương tự
-
wr.dynamodb.read_items returns [{}] for a single partition value that does not existCó thể đã có người làm @auraseb đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
aws/aws-sdk-pandas#3520 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
requires triage typing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
sqlalchemy/sqlalchemy#13704 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Edit tool converts CRLF files to LFCó thể đã có người làm @RaphaelFakhri đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
huggingface/tau#774 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
show ignores the row limit when a column or table name contains "limit"Có thể đã có người làm @RaphaelFakhri đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
What happened to `check.py`?Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
linebender/resvg#1179 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày