Skip to content

Commit

Permalink
[INLONG-11199][Sort] Make log reporting related containers optional
Browse files Browse the repository at this point in the history
  • Loading branch information
qy-liuhuo committed Oct 10, 2024
1 parent 6e78dd2 commit 189590f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
version: '2.4'
version: '3.0'

services:
mysql:
Expand Down Expand Up @@ -153,6 +153,7 @@ services:
volumes:
- ./log-system/otel-config.yaml:/otel-config.yaml
command: [ "--config=/otel-config.yaml"]
profiles: [sort-report]
ports:
- "4317:4317"

Expand All @@ -161,6 +162,7 @@ services:
image: grafana/loki:3.0.0
ports:
- "3100:3100"
profiles: [sort-report]
volumes:
- ./log-system/loki.yaml:/etc/loki/local-config.yaml
command: -config.file=/etc/loki/local-config.yaml
Expand Down Expand Up @@ -192,4 +194,5 @@ services:
/run.sh
image: grafana/grafana:latest
ports:
- "3000:3000"
- "3000:3000"
profiles: [sort-report]

0 comments on commit 189590f

Please sign in to comment.