Fix the deploy mode of couchbase.

This commit is contained in:
Andrea Dell'Amico 2023-04-28 12:32:58 +02:00
parent 35ab51ac7b
commit b73502cb2a
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,7 @@ open_asfa_couchbase_image: 'couchbase:community'
open_asfa_couchbase_volume_type: 'local'
open_asfa_couchbase_volume_o: ""
open_asfa_couchbase_volume_device: ""
# open_asfa_couchbase_connect_string: "{{ open_asfa_docker_stack_name }}_couchbase://couchbase"
open_asfa_couchbase_connect_string: "couchbase://couchbase"
open_asfa_couchbase_username: "Administrator"
# open_asfa_couchbase_password: "use a vault"

View File

@ -29,6 +29,9 @@ services:
volumes:
- {{ open_asfa_couchbase_volume }}:/opt/couchbase/var
deploy:
mode: replicated
replicas: 1
endpoint_mode: dnsrr
placement:
constraints: [node.role == worker]
restart_policy: