# Deploy on local server

**URL:** <https://forum.weaviate.io/t/deploy-on-local-server/10008>\
**Category:** Support\
**Tags:** technical\
**Created:** [February 3, 2025, 6:55pm UTC](https://forum.weaviate.io/t/deploy-on-local-server/10008 "2025-02-03T18:55:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@matt](https://forum.weaviate.io/u/matt)\
**Post date:** [February 3, 2025, 6:55pm UTC](https://forum.weaviate.io/t/deploy-on-local-server/10008/1 "2025-02-03T18:55:43Z")

</div>

Hi, I am considering deploying a Weaviate database on a server in my data centre. I am curious to find out if anyone has done it before. If so, how is it possible? How to secure it. How to access it from the public internet ( application hosted outside). What are the key considerations? Thanks a lot!

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [February 3, 2025, 7:38pm UTC](https://forum.weaviate.io/t/deploy-on-local-server/10008/2 "2025-02-03T19:38:29Z")

</div>

hi @matt !!

If you are using docker, you can install, secure and expose it using for example traefik.

Check this answer on how to do it:

> [@Weaviate with Traefik and gRPC](https://forum.weaviate.io/t/weaviate-with-traefik-and-grpc/1238/3):
>
> Hi @qnlbnsl ! Sorry for the delay here. Looks like I was finally able to tame this Here is what I got: NOTE: [Check this updated gist on how to correctly expose Weaviate under SSL/TLS using Traefik and running everything with a docker compose](https://gist.github.com/dudanogueira/0dd925cbf63397e256e84e991245aab3/edit) --- version: '3.4' services: weaviate: command: - --host - 0.0.0.0 - --port - '8080' - --scheme - http image: semitechnologies/weaviate:1.23.5 #ports: # - 8081:8080 # unsafe http # - 50052:50051 # unsafe grpc…

Bottom line is that you will need to expose both `http` and `grpc` ports, and depending on how you have exposed it, you change the client initialization accordingly using the custom connection:

> **[Custom connections | Weaviate Documentation](https://docs.weaviate.io/weaviate/connections/connect-custom)**
>
> The Python Client v4 and the TypeScript Client v3 provide helper methods for common connection types. They also provide custom methods for when you need additional connection configuration.

Let me know if this helps!

Thanks!

---

<div class="post-metadata">

**Author:** ![matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@matt](https://forum.weaviate.io/u/matt)\
**Post date:** [February 4, 2025, 5:02am UTC](https://forum.weaviate.io/t/deploy-on-local-server/10008/3 "2025-02-04T05:02:37Z")

</div>

I am basically looking for the most safest, secure way of deploying it ( obviously there is a network component involved). Docker can be an option - is it just running docker deamon tool on the server or anything else could be considered?  
Also, how it is the backup option available whilst dockerising the weaviate database?

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [February 4, 2025, 3:26pm UTC](https://forum.weaviate.io/t/deploy-on-local-server/10008/4 "2025-02-04T15:26:47Z")

</div>

Hi!

Docker will work fine for a single node cluster.

If you want to run a multi node cluster, then we suggest Kubernetes:

> **[Kubernetes | Weaviate](https://weaviate.io/developers/weaviate/installation/kubernetes)**
>
> For a tutorial on how to use minikube to deploy Weaviate on Kubernetes, see the Weaviate Academy course, Weaviate on Kubernetes.

For [backups](https://weaviate.io/developers/weaviate/configuration/backups), sor single node, you can use the filesystem module, or for all kinds of cluster (single or multi node) you can use a remote one, like S3 ou GCP buckets for example.

Let me know if this helps!

Thanks!
