Skip to content

Commit

Permalink
update docker-compose.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Weifeng Wang <[email protected]>
  • Loading branch information
qclaogui committed Mar 5, 2024
1 parent 2db31b8 commit b7e6470
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 11 deletions.
5 changes: 4 additions & 1 deletion docker-compose/microservices-mode/logs/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
version: '3.9'

# ============================================================================ #
# Microservices Mode - Logs
# ============================================================================ #

# Note:
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
include:
- path: ../../common/compose-include/minio.yaml
- path: ../../common/compose-include/agent-collect-logs.yaml

# Microservices mode (Logs)
services:
gateway:
depends_on:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
version: '3.9'

# ============================================================================ #
# Microservices Mode - Metrics
# ============================================================================ #

# Note:
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
include:
- path: ../../common/compose-include/minio.yaml
- path: ../../common/compose-include/agent-collect-metrics.yaml
- path: ../../common/compose-include/load-mimir-rule.yaml

# Microservices mode (Metrics)
services:
gateway:
depends_on:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
version: '3.9'

# ============================================================================ #
# Microservices Mode - Profiles
# ============================================================================ #

# Note:
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
include:
- path: ../../common/compose-include/minio.yaml
- path: ../../common/compose-include/agent-collect-profiles.yaml

# Microservices mode (Profiles)
services:
gateway:
depends_on:
Expand Down
5 changes: 4 additions & 1 deletion docker-compose/microservices-mode/traces/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
version: '3.9'

# ============================================================================ #
# Microservices Mode - Traces
# ============================================================================ #

# Note:
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
include:
Expand All @@ -8,7 +12,6 @@ include:
- path: ../../common/compose-include/load-mimir-rule.yaml
- path: ../../common/compose-include/load-tempo-rule.yaml

# Microservices mode (Traces)
services:
gateway:
depends_on:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
version: '3.9'

# ============================================================================ #
# Monolithic Mode - All in one
# ============================================================================ #

# Note:
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
include:
- path: ../../common/compose-include/minio.yaml

# Monolithic mode (Metrics + Logs + Traces + Profiles)
services:
agent:
depends_on:
Expand Down
5 changes: 4 additions & 1 deletion docker-compose/monolithic-mode/logs/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
version: '3.9'

# ============================================================================ #
# Monolithic Mode - Logs
# ============================================================================ #

# Note:
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
include:
- path: ../../common/compose-include/minio.yaml
- path: ../../common/compose-include/agent-collect-logs.yaml

# Monolithic mode (Logs)
services:
gateway:
depends_on:
Expand Down
5 changes: 4 additions & 1 deletion docker-compose/monolithic-mode/metrics/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
version: '3.9'

# ============================================================================ #
# Monolithic Mode - Metrics
# ============================================================================ #

# Note:
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
include:
- path: ../../common/compose-include/minio.yaml
- path: ../../common/compose-include/agent-collect-metrics.yaml
- path: ../../common/compose-include/load-mimir-rule.yaml

# Monolithic mode (Metrics)
services:
gateway:
depends_on:
Expand Down
5 changes: 4 additions & 1 deletion docker-compose/monolithic-mode/profiles/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
version: '3.9'

# ============================================================================ #
# Monolithic Mode - Profiles
# ============================================================================ #

# Note:
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
include:
Expand All @@ -12,7 +16,6 @@ include:
# - https://github.com/qclaogui/codelab-monitoring.git#main:docker-compose/common/compose-include/minio.yaml
# - https://github.com/qclaogui/codelab-monitoring.git#main:docker-compose/common/compose-include/agent-collect-profiles.yaml

# Monolithic mode (Profiles)
services:
gateway:
depends_on:
Expand Down
5 changes: 4 additions & 1 deletion docker-compose/monolithic-mode/traces/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
version: '3.9'

# ============================================================================ #
# Monolithic Mode - Traces
# ============================================================================ #

# Note:
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
include:
Expand All @@ -8,7 +12,6 @@ include:
- path: ../../common/compose-include/load-mimir-rule.yaml
- path: ../../common/compose-include/load-tempo-rule.yaml

# Monolithic mode (Traces)
services:
gateway:
depends_on:
Expand Down
5 changes: 4 additions & 1 deletion docker-compose/read-write-mode/logs/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
version: '3.9'

# ============================================================================ #
# Read-Write Mode - Logs
# ============================================================================ #

# Note:
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
include:
- path: ../../common/compose-include/minio.yaml
- path: ../../common/compose-include/agent-collect-logs.yaml

# Read-Write mode (Logs)
services:
gateway:
depends_on:
Expand Down
5 changes: 4 additions & 1 deletion docker-compose/read-write-mode/metrics/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
version: '3.9'

# ============================================================================ #
# Read-Write Mode - Metrics
# ============================================================================ #

# Note:
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
include:
- path: ../../common/compose-include/minio.yaml
- path: ../../common/compose-include/agent-collect-metrics.yaml
- path: ../../common/compose-include/load-mimir-rule.yaml

# Read-Write mode (Metrics)
services:
gateway:
depends_on:
Expand Down

0 comments on commit b7e6470

Please sign in to comment.