Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm learning to run a Django app and have been toying with deploying to DigitalOcean. Decided on this to learn atleast some generic DevOps things as opposed to too-proprietary (Heroku) and too-expensive (AWS). There's a decent amount of Nginx, Gunicorn, and Postgres things that seem to need to be scripted, and I'm still not sure how to quickly reproduce the server automatically (scripts?) and replicate the server environment on my Mac without adding Docker/Podman to the mix (running Django app on my Mac and deploying to Ubuntu server env could cause issues unknown locally).

How does Appliku help address these issues?

Edit: Also, is Appliku itself deployed with Appliku? If so, if Appliku experiences issues, do you have a quick method of deploying the fix outside your usual deployment?



As a developer you only pick your repo and pick a server size and region.

If you need customization you can make your own dockerfile that will be used to build your image.

If you need to move to another server - you provision another server through appliku interface and change deployment to happen on that server.

Appliku itself is deployed with help of GitLab CI and can be redeployed to another location pretty fast.

Hope i was able to answer your questions.


> I'm still not sure how to quickly reproduce the server automatically (scripts?)

I use Ansible. I'm not a DevOps person and found it very easy to get working. It just requires SSH.

I also use Docker locally, because it's convenient, even if I don't containerise my application.

I've tested Digital Ocean's managed Postgres and it seems to work well.

Welcome to hear what Appliku offers more than this, however.


Thanks. When people say they use Docker, there seems to be several different ways. Are you using Docker Desktop (Mac/Linux?), docker-compose, Podman, or something else?


I use docker-compose on Ubuntu and when I'm on Mac, I use the same docker-compose.yml file running under Docker Desktop.

My docker-compose.yml file includes services for integration testing, like MailHog.


Here's my template: https://github.com/skorokithakis/django-project-template

I use Dokku for production and Docker Compose for local development. This template is basically clone-and-go.


Ah I've read your posts on Dokku and Docker. Double thanks!


You're very welcome!


Use Ansible. Here is an example of one of my Django apps’ setup scripts: https://github.com/scancer-org/setup




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: