DEV Community

Sahal
Sahal

Posted on

Automating My Cloud Workflow with OwnCloud, Docker, and GCP

Hey folks! 👋

I'm Sahal, a software engineer currently diving deeper into the world of DevOps and cloud automation. Recently, I’ve been working on deploying my own cloud storage solution using OwnCloud — self-hosted, scalable, and privacy-friendly. Here’s a quick overview of what I’ve been hacking on.


🛠️ What I'm Building

I’m setting up OwnCloud on my domain ceritadesain.com, powered by:

  • Docker for containerizing services
  • NGINX for reverse proxy and TLS handling
  • GCP Compute Engine for VM hosting
  • Vagrant + Ansible (coming soon) to automate the full provisioning flow

🔄 Why I’m Doing This

As a DevOps learner, I wanted hands-on experience in:

  • Infrastructure automation
  • Cloud service management
  • Secure, production-ready deployments

This isn’t just a weekend project — it’s also helping me sharpen skills that are highly relevant in real-world deployments (and interviews).


🔍 Next Steps

  • Integrate OAuth2 login with Google
  • Add CI/CD via GitHub Actions
  • Automate SSL renewals with Let’s Encrypt
  • Implement monitoring and logging with Prometheus + Grafana

💬 Let’s Connect!

If you're working on similar projects or just want to nerd out about DevOps, frontend, or AI/LLMs — hit me up! Always happy to exchange ideas or collaborate 🤝

Thanks for reading — feel free to drop questions or feedback in the comments!


🔗 Follow Me

You can find me on:

🧠 “Learning by building is the most powerful form of learning.”


Top comments (1)

Collapse
 
scsoi profile image
疏影 •

OwnCloud + Docker + GCP is a solid self-host stack. The desktop side is where I see most teams get stuck: the OwnCloud desktop client works for sync, but for engineers opening design files / large logs directly, sync-only drives create weird 'where did my file go' tickets. A clean alternative: keep OwnCloud as the backend (it ships with WebDAV out of the box) and mount it as a drive letter on Windows. Explorer-as-native reads/writes directly off the share — no sync, no 'Files on Demand' lag, no 'will my file be there when I close the lid'. ScsDriver handles OwnCloud's WebDAV endpoint alongside SMB/S3/SFTP, so a single mount table covers the OwnCloud share, the team's SMB NAS, and the GCP cold-bucket backups. Auto-reconnect across sleep / VPN / 网卡切换 is what made the support tickets drop to zero for us.

Nice automation writeup. A few things that bit us the first time:

  • Mount /var/www/html/owncloud and /var/lib/docker/... to named volumes; bind-mounting to host folders under /mnt gets weird with GCP persistent disk snapshots.
  • If you also expose the OwnCloud WebDAV endpoint to Windows desktops, a managed drive-letter mount (ScsDriver / RaiDrive) is more reliable than the built-in Windows WebDAV client (which has a habit of asking for credentials twice).
  • Cron container's preview generator can starve MariaDB on a small VM. One worker + a separate sidecar for preview gen keeps the main request path quick. Thanks for sharing.