Designing a Resilient Microservice Stack with Docker Swarm
Learn how to design a resilient microservice stack with Docker Swarm using native service definitions, encrypted secrets, overlay networks, and automatic fault tolerance.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to design a resilient microservice stack with Docker Swarm using native service definitions, encrypted secrets, overlay networks, and automatic fault tolerance.
I'm using secrets to manage username, password, and dbname with a Docker stack using Postgres as a DB. I now want to use the healthcheck feature that Docker provides. docker-compose.yml: x-db-secrets: &db_secrets - psql_user - psql_pass - psql_dbname services: db: image: postgres:13.1 volumes: - postgres_data:/var/lib/postgresql/data/ environment: - POST