Hi, i am using typesense server from docker on my ...
# community-help
g
Hi, i am using typesense server from docker on my production env. Just wanted to understand some arguments in docker. 1. When i run below command, still i couldnt see any data dir or log dir where i can see logs. I wanted to get all logs in a persistent storage.
Copy code
sudo docker run -p 8108:8108 -v$(pwd)/typesense-data:/data typesense/typesense:0.23.1 --data-dir /data --log-dir= /logs --api-key=up_stox_ds --enable-cors
2. Also i was planning to use LB with multiple VM for high availability instead of docker swarm just for reducing the complexity. I hops its fine.
k
Can you make sure that there is no space after the parameter and the
=
?
Copy code
--data-dir=/data --log-dir=/logs
And ensure that
/logs
exists.
Having 2 independent instances backed by a LB is okay as long as you treat them as separate nodes and ensure that both are kept updated explicitly.
g
sure got it. thanks.