hey guys, create my first typesense project and wo...
# community-help
p
hey guys, create my first typesense project and working great so far. I'm now trying to secure it and running into
An error occurred while trying to load server certificate file
issues. Here's the command I'm running to start the server:
docker run -p 8108:8108 -v/tmp/data:/data typesense/typesense:0.19.0 --data-dir /data --api-key={api_key} --enable-cors --ssl-certificate /etc/ssl/private/cert-file.pem --ssl-certificate-key /etc/ssl/private/key-file.pem
The certificate / key I'm using is from an origin cert generated via Cloudflare. Not really sure where to go from here - any advice would be appreciated!
k
The /etc/ssl directory needs to be also mounted, correct?
p
ah, so simple - i rarely use docker, but I'm guessing that's why
will try that now
thanks @Kishore Nallan that worked : )
k
👍