Skip to content

Commit

Permalink
enable database and view details in example/integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix committed Feb 5, 2022
1 parent 81133a3 commit 6fb6c15
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/compose/docker-compose-integrationtest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.3"
version: "3.2"

services:
couchdb_1_7:
Expand Down Expand Up @@ -57,7 +57,7 @@ services:

couchdbstats1:
image: "gesellix/couchdb-prometheus-exporter:${COUCHDB_EXPORTER_VERSION:-latest}"
command: --couchdb.uri=http://couchdb_node_1:5984 --logtostderr
command: --couchdb.uri=http://couchdb_node_1:5984 --logtostderr --databases=_all_dbs --databases.views=true
environment:
- "COUCHDB_USERNAME=${COUCHDB_USER:-root}"
- "COUCHDB_PASSWORD=${COUCHDB_PASSWORD:-a-secret}"
Expand All @@ -69,7 +69,7 @@ services:

couchdbstats2:
image: "gesellix/couchdb-prometheus-exporter:${COUCHDB_EXPORTER_VERSION:-latest}"
command: --couchdb.uri=http://couchdb_node_2:5984 --logtostderr
command: --couchdb.uri=http://couchdb_node_2:5984 --logtostderr --databases=_all_dbs --databases.views=true
environment:
- "COUCHDB_USERNAME=${COUCHDB_USER:-root}"
- "COUCHDB_PASSWORD=${COUCHDB_PASSWORD:-a-secret}"
Expand All @@ -89,6 +89,7 @@ services:
networks:
couchdb-cluster:
driver: overlay
attachable: true
ipam:
driver: default
config:
Expand Down

0 comments on commit 6fb6c15

Please sign in to comment.