-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix failing CI and diable integration test CI
- Loading branch information
Alex Coats
committed
May 6, 2024
1 parent
57ba866
commit 8bfbe5d
Showing
7 changed files
with
192 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
version: "3" | ||
services: | ||
mongo: | ||
image: mongo:latest | ||
container_name: mongo | ||
# Warning: We don't keep logs to make development simpler | ||
command: ["--quiet", "--logpath", "/dev/null"] | ||
volumes: | ||
- ./data/chronicle/mongodb:/data/db | ||
# environment: | ||
# - MONGO_INITDB_ROOT_USERNAME=${MONGODB_USERNAME} | ||
# - MONGO_INITDB_ROOT_PASSWORD=${MONGODB_PASSWORD} | ||
ports: | ||
- 27017:27017 | ||
|
||
# inx-chronicle: | ||
# container_name: inx-chronicle | ||
# depends_on: | ||
# influx: | ||
# condition: service_started | ||
# build: | ||
# context: .. | ||
# dockerfile: docker/Dockerfile.debug | ||
# image: inx-chronicle:dev | ||
# ports: | ||
# - "8042:8042/tcp" # REST API | ||
# - "9100:9100/tcp" # Metrics | ||
# tty: true | ||
# deploy: | ||
# restart_policy: | ||
# condition: on-failure | ||
# delay: 5s | ||
# max_attempts: 3 | ||
# command: | ||
# - "--mongodb-conn-str=${MONGODB_CONN_STR}" | ||
# - "--influxdb-url=http://influx:8086" | ||
# - "--influxdb-username=${INFLUXDB_USERNAME}" | ||
# - "--influxdb-password=${INFLUXDB_PASSWORD}" | ||
# - "--inx-url=http://hornet:9029" | ||
# - "--jwt-password=${JWT_PASSWORD}" | ||
# - "--jwt-salt=${JWT_SALT}" | ||
|
||
influx: | ||
image: influxdb:1.8 | ||
container_name: influx | ||
volumes: | ||
- ./data/chronicle/influxdb:/var/lib/influxdb | ||
- ./assets/influxdb/init.iql:/docker-entrypoint-initdb.d/influx_init.iql | ||
environment: | ||
- INFLUXDB_ADMIN_USER=${INFLUXDB_USERNAME} | ||
- INFLUXDB_ADMIN_PASSWORD=${INFLUXDB_PASSWORD} | ||
- INFLUXDB_HTTP_AUTH_ENABLED=true | ||
ports: | ||
- 8086:8086 | ||
|
||
# hornet: | ||
# image: iotaledger/hornet:2.0-rc | ||
# container_name: hornet | ||
# ulimits: | ||
# nofile: | ||
# soft: 8192 | ||
# hard: 8192 | ||
# stop_grace_period: 5m | ||
# ports: | ||
# - "15600:15600/tcp" # Gossip | ||
# - "14626:14626/udp" # Autopeering | ||
# - "14265:14265/tcp" # REST API | ||
# - "8081:8081/tcp" # Dashboard | ||
# - "8091:8091/tcp" # Faucet | ||
# - "9311:9311/tcp" # Prometheus | ||
# - "9029:9029/tcp" # INX | ||
# cap_drop: | ||
# - ALL | ||
# volumes: | ||
# - ./data/hornet/alphanet/:/app/alphanet | ||
# - ./data/hornet/testnet/:/app/testnet | ||
# - ./data/hornet/shimmer/:/app/shimmer | ||
# - ./config.testnet.hornet.json:/app/config_testnet.json:ro | ||
# - ./config.alphanet.hornet.json:/app/config_alphanet.json:ro | ||
# command: | ||
# # We can connect to the non-default networks by choosing a different Hornet configuration file. | ||
# # - "-c" | ||
# # - "config_testnet.json" | ||
# # - "config_alphanet.json" | ||
# - "--config=${HORNET_CONFIG_PATH}" | ||
# - "--inx.enabled=true" | ||
# - "--inx.bindAddress=hornet:9029" | ||
# - "--prometheus.enabled=true" | ||
# - "--prometheus.bindAddress=0.0.0.0:9311" | ||
|
||
################################################################################ | ||
# The following services can be enabled by setting the `debug` profile. | ||
|
||
mongo-express: | ||
image: mongo-express | ||
depends_on: | ||
- mongo | ||
profiles: | ||
- debug | ||
restart: unless-stopped | ||
ports: | ||
- 8084:8084 | ||
environment: | ||
- ME_CONFIG_MONGODB_SERVER=mongo | ||
- ME_CONFIG_MONGODB_PORT=27017 | ||
- ME_CONFIG_OPTIONS_READONLY=true | ||
- VCAP_APP_PORT=8084 | ||
|
||
################################################################################ | ||
# The following services can be enabled by setting the `metrics` profile. | ||
|
||
prometheus: | ||
image: prom/prometheus:latest | ||
profiles: | ||
- metrics | ||
container_name: prometheus | ||
restart: unless-stopped | ||
user: "65532" | ||
ports: | ||
- 9090:9090 | ||
volumes: | ||
- ./data/prometheus/:/prometheus | ||
- ./assets/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro | ||
- /etc/localtime:/etc/localtime:ro | ||
command: | ||
- "--config.file=/etc/prometheus/prometheus.yml" | ||
- "--web.external-url=http://localhost:9090" | ||
|
||
mongodb-exporter: | ||
image: percona/mongodb_exporter:0.34 | ||
profiles: | ||
- metrics | ||
depends_on: | ||
- mongo | ||
container_name: mongodb-exporter | ||
restart: unless-stopped | ||
user: "65532" | ||
ports: | ||
- 9216:9261 | ||
command: | ||
- "--mongodb.uri=mongodb://mongo:27017" | ||
- "--mongodb.direct-connect=true" | ||
- "--web.listen-address=:9216" | ||
- "--log.level=info" | ||
- "--discovering-mode" | ||
- "--collect-all" | ||
|
||
grafana: | ||
image: grafana/grafana-oss:latest | ||
profiles: | ||
- metrics | ||
container_name: grafana | ||
restart: unless-stopped | ||
user: "65532" | ||
ports: | ||
- 3000:3000 | ||
volumes: | ||
- ./data/grafana:/var/lib/grafana | ||
- ./assets/grafana/:/etc/grafana/provisioning/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters