-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstack.yml
More file actions
41 lines (37 loc) · 985 Bytes
/
Copy pathstack.yml
File metadata and controls
41 lines (37 loc) · 985 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "3.8"
services:
whoami:
image: ghcr.io/upsetdev/whoami:latest
networks:
- traefik-public
deploy:
replicas: 2
labels:
- traefik.enable=true
# HTTPS router
- traefik.http.routers.whoami-secure.rule=Host(`whoami.upset.dev`)
- traefik.http.routers.whoami-secure.entrypoints=websecure
- traefik.http.routers.whoami-secure.tls=true
- traefik.http.routers.whoami-secure.service=whoami
# Service
- traefik.http.services.whoami.loadbalancer.server.port=8080
resources:
limits:
cpus: "0.5"
memory: 128M
update_config:
parallelism: 1
delay: 10s
order: start-first
failure_action: rollback
rollback_config:
parallelism: 1
delay: 5s
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
networks:
traefik-public:
external: true