diff --git a/build/README.md b/build/README.md index 726fad095..8da6082d9 100644 --- a/build/README.md +++ b/build/README.md @@ -28,6 +28,19 @@ Trigger condition: 3. wait for the build to finish 4. download the artifacts from the release page +## Make images + +**help info:** + +```bash +$ make image.help +``` + +**build images:** + +```bash +$ make image +``` ## Overview diff --git a/docker-compose.yaml b/docker-compose.yaml index 701d653b5..2ccbf0479 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -127,35 +127,6 @@ services: max-size: "1g" max-file: "2" - # openim-chat: - # # image: ghcr.io/openimsdk/openim-server:release-v1.2 - # image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:release-v1.2 - # # image: openim/openim-server:release-v1.2 - # container_name: openim-chat - # # healthcheck: - # # test: ["CMD-SHELL", "./scripts/check-all.sh"] - # # interval: 30s - # # timeout: 10s - # # retries: 5 - # volumes: - # - openim-chat_logs:/openim/openim-chat/logs - # - openim-chat_config:/openim/openim-chat/config - # - openim-chat_scripts:/openim/openim-chat/scripts - # restart: always - # user: root:root - # depends_on: - # - mysql - # - mongodb - # - redis - # - minio - # - openim-server - # network_mode: "host" - # logging: - # driver: json-file - # options: - # max-size: "1g" - # max-file: "2" - prometheus: image: prom/prometheus volumes: diff --git a/tools/imctl/cmd/genopenimdocs/config_flags.go b/tools/imctl/cmd/genopenimdocs/config_flags.go index 2c259bd47..efd5297b8 100644 --- a/tools/imctl/cmd/genopenimdocs/config_flags.go +++ b/tools/imctl/cmd/genopenimdocs/config_flags.go @@ -1,3 +1,17 @@ +// Copyright © 2023 OpenIM. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package genericclioptions import (