Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Mon 25 May 2020

How to deploy STATEFUL container on DigitalOcean

The examples of usage includes,

  • When you want to use MongoDB Atlas beyond free tier limits; or other self-hosted database
  • Self-hosted WordPress
  • Self-hosted stateful docker container, such as Remark42 or Isso.

(I have done all three.)

Actually, it's the answer to this question.

Need help deploy Docker that needs storage on GCP

Need help deploy Docker that needs storage on GCP

For example, https://github.com/umputun/remark42 Internal BoltDB Uses docker-compose.yml h...

The steps required are

    ports:
      - "80:8080"
      - "443:8443"

    environment:
      - SSL_TYPE=auto
      - SSL_ACME_EMAIL=<YOUR_EMAIL>
      - IMAGE_PROXY_HTTP2HTTPS=true

Don't know if this is just my experience. docker-compose build on DigitalOcean droplet failed due to not enough memory. I have to build on my development machine (macOS), then push to Docker Hub. (Yes, this is my first time pushing to Docker Hub.) For anyone curious, see this gist.

Remark42 setup file that is Nuxt Universal-enabled

Remark42 setup file that is Nuxt Universal-enabled

Remark42 setup file that is Nuxt Universal-enabled - .qovery.yml