Skip to content

Instantly share code, notes, and snippets.

version: "3.9"
services:
my-service:
image: my-service:latest
deploy:
replicas: 1
restart_policy:
condition: on-failure
```jaml
version: '3.9'
services:
traefik:
image: traefik:v2.10
ports:
- 80:80
- 443:443