diff --git a/examples/compose/docker-compose-cluster.yml b/examples/compose/docker-compose-cluster.yml index a6459140..c37a336e 100644 --- a/examples/compose/docker-compose-cluster.yml +++ b/examples/compose/docker-compose-cluster.yml @@ -2,7 +2,7 @@ version: "2.3" services: couchdb1: - image: couchdb:2.3.1 + image: couchdb:3.3.2 command: -name couchdb@172.16.238.11 -setcookie thecookie env_file: .couchdb-env restart: always @@ -13,7 +13,7 @@ services: - "15984:5984" couchdb2: - image: couchdb:2.3.1 + image: couchdb:3.3.2 command: -name couchdb@172.16.238.12 -setcookie thecookie env_file: .couchdb-env restart: always @@ -24,7 +24,7 @@ services: - "25984:5984" couchdb3: - image: couchdb:2.3.1 + image: couchdb:3.3.2 command: -name couchdb@172.16.238.13 -setcookie thecookie env_file: .couchdb-env restart: always @@ -45,7 +45,7 @@ services: - "9984:9984" cluster-setup: - image: gesellix/couchdb-cluster-config:v17.0.0 + image: gesellix/couchdb-cluster-config:v17.2.8 command: -nodes 172.16.238.11 -nodes 172.16.238.12 -nodes 172.16.238.13 networks: couchdb-cluster: diff --git a/examples/compose/docker-compose-integrationtest.yml b/examples/compose/docker-compose-integrationtest.yml index 7cce2cc7..ba4d6af7 100644 --- a/examples/compose/docker-compose-integrationtest.yml +++ b/examples/compose/docker-compose-integrationtest.yml @@ -11,7 +11,7 @@ services: - "4895:5984" couchdb_node_1: - image: couchdb:3.3.1 + image: couchdb:3.3.2 command: -setcookie thecookie environment: - "COUCHDB_USER=${COUCHDB_USER:-root}" @@ -26,7 +26,7 @@ services: - "15984:5984" couchdb_node_2: - image: couchdb:3.3.1 + image: couchdb:3.3.2 command: -setcookie thecookie environment: - "COUCHDB_USER=${COUCHDB_USER:-root}" @@ -41,7 +41,7 @@ services: - "25984:5984" couchdb_node_3: - image: couchdb:3.3.1 + image: couchdb:3.3.2 command: -setcookie thecookie environment: - "COUCHDB_USER=${COUCHDB_USER:-root}" diff --git a/examples/compose/docker-compose.yml b/examples/compose/docker-compose.yml index 14ffd516..2b62b7bd 100644 --- a/examples/compose/docker-compose.yml +++ b/examples/compose/docker-compose.yml @@ -2,7 +2,7 @@ version: "2" services: couchdb: - image: couchdb:2.3.1 + image: couchdb:3.3.2 env_file: .couchdb-env restart: always volumes: diff --git a/examples/grafana/docker-traefik-stack.yml b/examples/grafana/docker-traefik-stack.yml index 92f29825..0f26f0f7 100644 --- a/examples/grafana/docker-traefik-stack.yml +++ b/examples/grafana/docker-traefik-stack.yml @@ -72,8 +72,12 @@ services: condition: on-failure couchdb1: - image: couchdb:2.3.1 + image: couchdb:3.3.2 command: -name couchdb@couchdb1 -setcookie thecookie + environment: + - "COUCHDB_USER=${COUCHDB_USER:-root}" + - "COUCHDB_PASSWORD=${COUCHDB_PASSWORD:-a-secret}" + - "COUCHDB_SECRET=${COUCHDB_SECRET:-123456}" networks: couchdb-cluster: monitor-net: @@ -88,8 +92,12 @@ services: condition: on-failure couchdb2: - image: couchdb:2.3.1 + image: couchdb:3.3.2 command: -name couchdb@couchdb2 -setcookie thecookie + environment: + - "COUCHDB_USER=${COUCHDB_USER:-root}" + - "COUCHDB_PASSWORD=${COUCHDB_PASSWORD:-a-secret}" + - "COUCHDB_SECRET=${COUCHDB_SECRET:-123456}" networks: couchdb-cluster: monitor-net: @@ -104,8 +112,12 @@ services: condition: on-failure couchdb3: - image: couchdb:2.3.1 + image: couchdb:3.3.2 command: -name couchdb@couchdb3 -setcookie thecookie + environment: + - "COUCHDB_USER=${COUCHDB_USER:-root}" + - "COUCHDB_PASSWORD=${COUCHDB_PASSWORD:-a-secret}" + - "COUCHDB_SECRET=${COUCHDB_SECRET:-123456}" networks: couchdb-cluster: monitor-net: @@ -158,7 +170,7 @@ services: condition: on-failure cluster-setup: - image: gesellix/couchdb-cluster-config:v17.0.0 + image: gesellix/couchdb-cluster-config:v17.2.8 command: setup --delay 10s --timeout 30s --username ${COUCHDB_USER:-root} --password ${COUCHDB_PASSWORD:-a-secret} -nodes couchdb1 -nodes couchdb2 -nodes couchdb3 networks: couchdb-cluster: diff --git a/examples/stack/config.properties b/examples/stack/config.properties index bb45ebc0..de37b329 100644 --- a/examples/stack/config.properties +++ b/examples/stack/config.properties @@ -1,3 +1,5 @@ # this file shouldn't be in VCS, but we keep it here for demo purposes couchdb.username=root couchdb.password=a-secret +couchdb.uri=http://foo.example.com +databases.views=false