# Ontkoppelde Discourse Applicatie - Managed Redis, Managed Postgres, en DIgital Ocean Volume met Discourse

**URL:** <https://meta.discourse.org/t/decoupled-discourse-application-managed-redis-managed-postgres-and-digital-ocean-volume-with-discourse/179546>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [13 februari 2021 om 04:12 UTC](https://meta.discourse.org/t/decoupled-discourse-application-managed-redis-managed-postgres-and-digital-ocean-volume-with-discourse/179546 "2021-02-13T04:12:52Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Bmorrical](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bmorrical/32/209506_2.png) [@Bmorrical](https://meta.discourse.org/u/Bmorrical)\
**Post date:** [13 februari 2021 om 18:52 UTC](https://meta.discourse.org/t/decoupled-discourse-application-managed-redis-managed-postgres-and-digital-ocean-volume-with-discourse/179546/6 "2021-02-13T18:52:05Z")

</div>

Hey @Falco , I figured it out pretty easy:

First, make the volume in DO and ensure you link your droplet to it in the DO steps, then  
ssh into your discourse machine

```plaintext
mv /var/discourse /var/discourse.bak
mkdir /home/discourse
mount /dev/sda /home/discourse
mv /var/discourse.bak/* /home/discourse
nano /home/discourse/containers/app.yml

```

Update the volumes section:

```plaintext
volumes:
  - volume:
      host: /home/discourse/shared/standalone
      guest: /shared
  - volume:
      host: /home/discourse/shared/standalone/log/var-log
      guest: /var/log

```

then,

```plaintext
cd /home/discourse
sudo ./launcher rebuild app

```

Now your discourse is served from volume, it can take snapshot and deployed behind load balancer since all parts are now decoupled.

cheers!

---

_[View the full topic](https://meta.discourse.org/t/decoupled-discourse-application-managed-redis-managed-postgres-and-digital-ocean-volume-with-discourse/179546)._
