DevOps
Multi-environment Docker deployment
0views0comments
Packaging images, environment variables, running multiple replicas.
Overview
Every SITESAFF app packages into a single Docker image, fully configured through environment variables.
Packaging the image
A multi-stage build keeps image size down and cleanly separates the build and runtime stages.
Running multiple replicas
Because the API is stateless (sessions live in Redis), it can run as multiple instances behind a load balancer with no sticky sessions needed.
Tags
dockerdevops
Docs
← BackCategory
DevOps · Docs