Skip to content

Commit

Permalink
Merge pull request #195 from seokho-son/seokho-son-patch-1
Browse files Browse the repository at this point in the history
Update docker-compose.yaml for v0.8.0
  • Loading branch information
seokho-son authored Nov 30, 2023
2 parents 701ae86 + 9c08714 commit 5b66d52
Showing 1 changed file with 123 additions and 123 deletions.
246 changes: 123 additions & 123 deletions docker-compose-mode-files/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
version: "3.3"
services:
# Metrics store
influxdb:
# 21/03/15 - DB V2 구조 변경으로 기존 버전 연결 문제 발생: 1.8.4 버전으로 고정해서 처리, 향후 Influx관련 코드를 v2에 맞도록 처리할 필요 있음.
image: influxdb:1.8.4
container_name: cb-restapigw-influxdb
ports:
- "0.0.0.0:8086:8086"
- "0.0.0.0:8088:8088"
env_file:
- './conf/env.influxdb'
volumes:
- ./data/influxdb/data:/var/lib/influxdb
# # Metrics store
# influxdb:
# # 21/03/15 - DB V2 구조 변경으로 기존 버전 연결 문제 발생: 1.8.4 버전으로 고정해서 처리, 향후 Influx관련 코드를 v2에 맞도록 처리할 필요 있음.
# image: influxdb:1.8.4
# container_name: cb-restapigw-influxdb
# ports:
# - "0.0.0.0:8086:8086"
# - "0.0.0.0:8088:8088"
# env_file:
# - './conf/env.influxdb'
# volumes:
# - ./data/influxdb/data:/var/lib/influxdb

# Metrics UI
grafana:
image: grafana/grafana:7.4.5
container_name: cb-restapigw-grafana
ports:
- "0.0.0.0:3100:3000"
depends_on:
- influxdb
env_file:
- './conf/env.grafana'
links:
- influxdb
volumes:
- ./data/grafana/data:/var/lib/grafana
- ./data/grafana/provisioning:/etc/grafana/provisioning
user: "0"
# # Metrics UI
# grafana:
# image: grafana/grafana:7.4.5
# container_name: cb-restapigw-grafana
# ports:
# - "0.0.0.0:3100:3000"
# depends_on:
# - influxdb
# env_file:
# - './conf/env.grafana'
# links:
# - influxdb
# volumes:
# - ./data/grafana/data:/var/lib/grafana
# - ./data/grafana/provisioning:/etc/grafana/provisioning
# user: "0"

# Trace store and UI
jaeger:
image: jaegertracing/all-in-one:latest
container_name: cb-restapigw-jaeger
ports:
- "0.0.0.0:14268:14268"
- "0.0.0.0:16686:16686"
# # Trace store and UI
# jaeger:
# image: jaegertracing/all-in-one:latest
# container_name: cb-restapigw-jaeger
# ports:
# - "0.0.0.0:14268:14268"
# - "0.0.0.0:16686:16686"

# Fake API
# fake_api:
Expand Down Expand Up @@ -75,7 +75,7 @@ services:

# CB-Spider
cb-spider:
image: cloudbaristaorg/cb-spider:0.7.2
image: cloudbaristaorg/cb-spider:0.7.8
container_name: cb-spider
ports:
- "0.0.0.0:1024:1024"
Expand All @@ -96,7 +96,7 @@ services:

# CB-Tumblebug
cb-tumblebug:
image: cloudbaristaorg/cb-tumblebug:0.7.2
image: cloudbaristaorg/cb-tumblebug:0.7.14
container_name: cb-tumblebug
ports:
- "0.0.0.0:1323:1323"
Expand Down Expand Up @@ -169,38 +169,38 @@ services:
depends_on:
- cb-tumblebug

cb-tumblebug-mapui:
image: cloudbaristaorg/cb-mapui:0.7.0
container_name: cb-tumblebug-mapui
ports:
- 0.0.0.0:1324:1324
depends_on:
- cb-tumblebug
# cb-tumblebug-mapui:
# image: cloudbaristaorg/cb-mapui:0.7.0
# container_name: cb-tumblebug-mapui
# ports:
# - 0.0.0.0:1324:1324
# depends_on:
# - cb-tumblebug

# CB-Ladybug
cb-ladybug:
image: cloudbaristaorg/cb-ladybug:0.7.2
container_name: cb-ladybug
ports:
- "0.0.0.0:1470:1470"
- "0.0.0.0:50254:50254"
depends_on:
- cb-restapigw
- cb-spider
- cb-tumblebug
volumes:
- ./conf/cb-ladybug/:/app/conf/
- ./data/cb-ladybug/meta_db/:/app/meta_db/
- ./data/cb-ladybug/log/:/app/log/
environment:
# - CBLOG_ROOT=/app
# - CBSTORE_ROOT=/app
# - APP_ROOT=/app
- SPIDER_URL=http://cb-spider:1024/spider
- TUMBLEBUG_URL=http://cb-tumblebug:1323/tumblebug
- BASE_PATH=/ladybug
- API_USERNAME=default
- API_PASSWORD=default
# # CB-Ladybug
# cb-ladybug:
# image: cloudbaristaorg/cb-ladybug:0.7.2
# container_name: cb-ladybug
# ports:
# - "0.0.0.0:1470:1470"
# - "0.0.0.0:50254:50254"
# depends_on:
# - cb-restapigw
# - cb-spider
# - cb-tumblebug
# volumes:
# - ./conf/cb-ladybug/:/app/conf/
# - ./data/cb-ladybug/meta_db/:/app/meta_db/
# - ./data/cb-ladybug/log/:/app/log/
# environment:
# # - CBLOG_ROOT=/app
# # - CBSTORE_ROOT=/app
# # - APP_ROOT=/app
# - SPIDER_URL=http://cb-spider:1024/spider
# - TUMBLEBUG_URL=http://cb-tumblebug:1323/tumblebug
# - BASE_PATH=/ladybug
# - API_USERNAME=default
# - API_PASSWORD=default

# CB-Dragonfly
cb-dragonfly:
Expand Down Expand Up @@ -307,64 +307,64 @@ services:
# aliases:
# - cb-dragonfly-kapacitor

# CB-Webtool
cb-webtool:
image: cloudbaristaorg/cb-webtool:0.7.1
container_name: cb-webtool
ports:
- "0.0.0.0:1234:1234"
depends_on:
- cb-restapigw
- cb-spider
- cb-tumblebug
environment:
- CBWS_TARGET=
- API_GW=http://cb-restapigw:8000
- SPIDER_URL=http://cb-spider:1024/spider
- TUMBLE_URL=http://cb-tumblebug:1323/tumblebug
- DRAGONFLY_URL=http://cb-dragonfly:9090/dragonfly
- LADYBUG_URL=http://cb-ladybug:1470/ladybug
- LoginUser=admin
- LoginEmail=admin
- LoginPassword=admin
- LoginAccessSecret=cloudbarista
- LoginRefreshSecret=webtool
- API_USERNAME=default
- API_PASSWORD=default
# # CB-Webtool
# cb-webtool:
# image: cloudbaristaorg/cb-webtool:0.7.1
# container_name: cb-webtool
# ports:
# - "0.0.0.0:1234:1234"
# depends_on:
# - cb-restapigw
# - cb-spider
# - cb-tumblebug
# environment:
# - CBWS_TARGET=
# - API_GW=http://cb-restapigw:8000
# - SPIDER_URL=http://cb-spider:1024/spider
# - TUMBLE_URL=http://cb-tumblebug:1323/tumblebug
# - DRAGONFLY_URL=http://cb-dragonfly:9090/dragonfly
# - LADYBUG_URL=http://cb-ladybug:1470/ladybug
# - LoginUser=admin
# - LoginEmail=admin
# - LoginPassword=admin
# - LoginAccessSecret=cloudbarista
# - LoginRefreshSecret=webtool
# - API_USERNAME=default
# - API_PASSWORD=default

# CB-RESTAPIGW SERVICE
cb-restapigw:
image: cloudbaristaorg/cb-restapigw:0.5.0
container_name: cb-restapigw
volumes:
- ./conf/cb-restapigw:/app/conf
# - ./data/cb-restapigw/log:/app/log
ports:
- "0.0.0.0:8000:8000"
- "0.0.0.0:8001:8001"
depends_on:
- influxdb
- grafana
- jaeger
# - hmac_site
# - fake_api
# - cb-spider
# - cb-tumblebug
# # CB-RESTAPIGW SERVICE
# cb-restapigw:
# image: cloudbaristaorg/cb-restapigw:0.5.0
# container_name: cb-restapigw
# volumes:
# - ./conf/cb-restapigw:/app/conf
# # - ./data/cb-restapigw/log:/app/log
# ports:
# - "0.0.0.0:8000:8000"
# - "0.0.0.0:8001:8001"
# depends_on:
# - influxdb
# - grafana
# - jaeger
# # - hmac_site
# # - fake_api
# # - cb-spider
# # - cb-tumblebug

#networks:
# default:
# external:
# name: cboperator_default
# #networks:
# # default:
# # external:
# # name: cboperator_default

cb-restapigw-readonly:
image: cloudbaristaorg/cb-restapigw:0.5.0
container_name: cb-restapigw-readonly
volumes:
- ./conf/cb-restapigw-readonly:/app/conf
# - ./data/cb-restapigw/log:/app/log
ports:
- "0.0.0.0:7000:8000"
- "0.0.0.0:7001:8001"
# cb-restapigw-readonly:
# image: cloudbaristaorg/cb-restapigw:0.5.0
# container_name: cb-restapigw-readonly
# volumes:
# - ./conf/cb-restapigw-readonly:/app/conf
# # - ./data/cb-restapigw/log:/app/log
# ports:
# - "0.0.0.0:7000:8000"
# - "0.0.0.0:7001:8001"

# cb-kong:
# image: kong:latest
Expand Down

0 comments on commit 5b66d52

Please sign in to comment.