Hacker News new | past | comments | ask | show | jobs | submit login

1. Ansible playbook to provision the server.

2. Upload a container archive to the server.

3. A systemd path unit will extract the archive and load it into the container runtime.

4. Orchestration tool like docker compose will run or re-run services. Docker compose file was already setup in step 1.

DB is usually Sqlite in WAL mode with Litestream.

Checkout the repo at https://github.com/confuzeus/simple-django for a full example.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: