Skip to content

Commit 19bcd6b

Browse files
authored
doc(readme): COUCHDB_DATA_DIR in every example
1 parent 889c4d4 commit 19bcd6b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ The following examples assume that you have the directory /home/ubuntu/common on
3636
-e NODENAME="couchdb{{.Task.Slot}}" \
3737
-e SERVICE_NAME="{{.Service.Name}}" \
3838
-e TASK_SLOT="{{.Task.Slot}}" \
39+
-e COUCHDB_DATA_DIR="/common/data/{{.Service.Name}}{{.Task.Slot}}" \
3940
-p 5984:5984 \
4041
redgeoff/couchdb-service
4142

@@ -54,6 +55,7 @@ We assume /home/ubuntu/common/sql/mydomain.crt and /home/ubuntu/common/sql/mydom
5455
-e NODENAME="couchdb{{.Task.Slot}}" \
5556
-e SERVICE_NAME="{{.Service.Name}}" \
5657
-e TASK_SLOT="{{.Task.Slot}}" \
58+
-e COUCHDB_DATA_DIR="/common/data/{{.Service.Name}}{{.Task.Slot}}" \
5759
-e COUCHDB_CERT_FILE="/common/ssl/mydomain.crt" \
5860
-e COUCHDB_KEY_FILE="/common/ssl/mydomain.key" \
5961
-e COUCHDB_CACERT_FILE="/common/ssl/mydomain.crt" \
@@ -86,10 +88,10 @@ Then run:
8688
-e NODENAME="couchdb{{.Task.Slot}}" \
8789
-e SERVICE_NAME="{{.Service.Name}}" \
8890
-e TASK_SLOT="{{.Task.Slot}}" \
91+
-e COUCHDB_DATA_DIR="/common/data/{{.Service.Name}}{{.Task.Slot}}" \
8992
-e COUCHDB_CERT_FILE="/common/ssl/mydomain.co.crt" \
9093
-e COUCHDB_KEY_FILE="/common/ssl/mydomain.co.key" \
9194
-e COUCHDB_CACERT_FILE="/common/ssl/mydomain.co.crt" \
92-
-e COUCHDB_DATA_DIR="/common/data/{{.Service.Name}}{{.Task.Slot}}" \
9395
-e COUCHDB_LOCAL_INI="/common/etc/local.ini" \
9496
-p 6984:6984 \
9597
redgeoff/couchdb-service

0 commit comments

Comments
 (0)