Services
Finally Here - GitHub Container Registry (ghcr.io)
· β˜• 3 min read
1. Github Container Registry On September 1, GitHub announced that Github Container Registry had entered public beta, offering a free, unlimited-capacity Docker image registry service during the testing period. No more worrying about docker.io wiping images out of the blue. How nice, how sweet! GitHub is using hosted code repositories as its entry point and gradually covering the entire R&D toolchain to build a one-stop DevOps platform.

Building Microservices
· β˜• 1 min read
Author: [UK] Sam Newman Publication year: 2016-5 ISBN: 9787115420268 Notes: It mainly answers a series of questions about microservices. What microservices are, what characteristics they have, how systems evolve, how to divide services, and integration, deployment, and testing strategies. It gives a fairly comprehensive introduction to microservices, and many of its views resonate with me.

Stateless Services
· β˜• 3 min read
1. Problem Description Background: a SaaS application developed with Django, offering document services externally. Its search feature is implemented through Django Haystack. Problem: the search feature is sometimes available and sometimes not. After repeated testing, the available and unavailable states were found to alternate, each occurring with a probability of

Building a Django Development Environment with Docker from Scratch (6) uWSGI, Django
· β˜• 4 min read
1. Directory Structure The django-devops-uwsgi directory holds the image build files that package uWSGI and Django. It installs the necessary packages such as uWSGI, pip, and virtualenv into the image. When a container is created from the image, the start.sh script runs: it creates the Python virtual runtime environment, installs the dependency packages from Django’s requirements.

Packaging a Django Development Environment with Docker from Scratch (5) Nginx
· β˜• 3 min read
1. Directory Structure 1 2 3 4 5 6 7 8 9 10 11 12 β”œβ”€β”€ django-devops-nginx β”‚ β”œβ”€β”€ Dockerfile β”‚ └── nginx.repo β”œβ”€β”€ django-devops-compose β”‚ β”œβ”€β”€ docker-compose.yml β”‚ β”œβ”€β”€ www β”‚ β”œβ”€β”€ conf β”‚ β”‚ β”œβ”€β”€ nginx.conf β”‚ β”œβ”€β”€ log β”‚ β”‚ β”œβ”€β”€ nginx β”‚ β”‚ β”‚ β”œβ”€β”€ access.log β”‚ β”‚ β”‚ β”œβ”€β”€ error.