Deploying PostgreSQL and Redis behind Traefik in the Cloud

Domain: postgresql://
IP: postgresql://admin:pass@
Domain: redis://
IP: redis://

Setting up a server

Setting up DigitalOcean’s new droplet
Created droplet
DigitalOcean console

Building Docker Compose

Docker Compose file with Traefik, PostgreSQL and Redis

Deploying in the Cloud

> git clone backend
> cd backend
> nano .env
# Postgres
> sh
> docker ps

Checking the setup

Traefik Dashboard




Problems solver. Open Source Staff. MS in CS.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Journey of SLIIT FOSS Website

Using DBT to Execute ELT Pipelines in Snowflake

Superalgos Review — Reviewing the starting tutorials

Agile Manifesto

One Step Forward

What’s the point of <script> elements in an HTML doc?

Run SystemVerilog on a Mac

Coding’s true purpose

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Problems solver. Open Source Staff. MS in CS.

More from Medium

How to deploy FastAPI with Nginx and Supervisor

Docker Desktop Alternative (Docker-CLI + Docker-Compose + Minkube + Hyperkit)

Collect http status Nginx — Prometheus (Docker)

Build gRPC with Go (golang): Unary API