惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
IT之家
IT之家
Last Week in AI
Last Week in AI
J
Java Code Geeks
L
LangChain Blog
Recent Announcements
Recent Announcements
Martin Fowler
Martin Fowler
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
博客园 - Franky
博客园 - 司徒正美
月光博客
月光博客
博客园 - 叶小钗
Vercel News
Vercel News
腾讯CDC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
B
Blog RSS Feed
人人都是产品经理
人人都是产品经理
H
Help Net Security
G
Google Developers Blog
D
DataBreaches.Net

DigitalOcean Community Questions

Referral Link Not Working anymore | DigitalOcean Recent console change has destroyed capacity to connect to legacy FreeBSD installs | DigitalOcean issue after moving app from aws to digitalocean | DigitalOcean issue after moving app from aws to digitalocean | DigitalOcean Container registry auomated garbage cillection sign in | DigitalOcean Billings And Free Tier Offer | DigitalOcean Switch hostinger to digitalocean? | DigitalOcean Unable to connect to Droplet via Console – “Failed to get droplet info” error | DigitalOcean billing problem | DigitalOcean How do I migrate an old Xen DomU VM, backed by a DRBD volume, to Digital Ocean? | DigitalOcean How to fix website not loading issue on VPS server (Nginx + WordPress) | DigitalOcean Account Locked After Payment Method Attempt (Hatch Program) - No Clear Reason | DigitalOcean Ghost Blog Marketplace Droplet is Ubuntu 22.04, not Ubuntu 24.04 | DigitalOcean How to setup browser with openclaw | DigitalOcean unable to load CA private key | DigitalOcean unable to load CA private key.. | DigitalOcean Add additional billing contact | DigitalOcean Digital Ocean Cloud Firewall? | DigitalOcean Mongodb auditing and compliance | DigitalOcean How much you're spending on AI tools? | DigitalOcean I can't create a managed MySQL cluster | DigitalOcean Please unblock SMTP (ports 25/465/587) for my droplet | DigitalOcean Reported promotional profile still accessible on DigitalOcean | DigitalOcean Change DNS server on Ubuntu 24 | DigitalOcean cannot add promotion of github student pack | DigitalOcean Do I need to use a Load Balancer on DigitalOcean for HTTPS or can I handle it on the Droplet? | DigitalOcean Best way to deploy a small Docker app on DigitalOcean without overengineering? | DigitalOcean Why is my DigitalOcean Droplet bandwidth usage so high all of a sudden? | DigitalOcean smtpout.secureserver.net 587 is blocked | DigitalOcean How do I disable AI? | DigitalOcean
How Can I Deploy a Django Procurement App on Digitalocean...
By a0aa4c11068a4e98bc3cde06ce6c8c · 2026-06-18 · via DigitalOcean Community Questions

Heya,

I’ve deployed a few Django apps on App Platform so this is doable. A couple of things worth knowing up front though.

For deployment, just connect your Git repo and App Platform builds on every push. Run it with Gunicorn, and set your migrate and collectstatic to run as a pre-deploy step so each release migrates automatically. Put your secrets (SECRET_KEY, DB URL, etc.) in the encrypted env vars, not in the repo.

The one thing that trips people up: the App Platform filesystem is ephemeral. Containers get recreated on every deploy, so anything uploaded to local disk disappears. For a procurement app with attachments/documents, you’ll want to store media on Spaces (their S3-compatible object storage) from day one using django-storages + boto3. Don’t skip this — it’s also what makes your eventual migration painless.

On backups: the managed Postgres comes with automatic daily backups + point-in-time recovery for 7 days, included. But those stay inside DO here’s no button to push a copy to your own machine. If you want local copies, just schedule a pg_dump from your machine (or a cron box) against the DB connection string. That’s what I’d do anyway, regardless of provider.

Migrating in-house later is genuinely low-risk because it’s plain Postgres — no lock-in. Stop writes briefly, pg_dump -Fc, pg_restore on your server (match the major version), verify, cut over. If you need near-zero downtime you can use logical replication and do a short final cutover, but for most people the dump/restore is fine. For the files, since Spaces is S3-compatible you just rclone the bucket over to your new storage (or a MinIO instance) and barely change your Django config.

For DR I’d keep it simple: lean on DO’s automatic backups for quick “oops” recovery, add your own scheduled pg_dump to a second location, mirror the Spaces bucket occasionally, and — most importantly actually test a restore now and then. Untested backups have a way of not working when you need them.

Honestly it’s a solid path. The two gotchas to remember are the ephemeral filesystem (→ use Spaces) and that the auto-backups live inside DO (→ add your own dump if you want local copies). Beyond that, because it’s standard Postgres + S3-compatible storage, you’re never really locked in, which is nice if you’re not 100% sure you’ll stay in the cloud.

Good luck with it!