We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e31194 commit 62960fbCopy full SHA for 62960fb
swarm/swarm-demo/docker-stack.yml
@@ -9,6 +9,11 @@ services:
9
- app.env
10
labels:
11
app: demo
12
+ logging:
13
+ driver: fluentd
14
+ options:
15
+ fluentd-address: 127.0.0.1:24224
16
+ tag: app.demo.frontend
17
deploy:
18
replicas: 10
19
update_config:
@@ -32,6 +37,11 @@ services:
32
37
- pg_secret
33
38
volumes:
34
39
- pg-data:/var/lib/postgresql/data
40
41
42
43
44
+ tag: app.demo.db
35
45
36
46
resources:
47
reservations:
@@ -46,6 +56,11 @@ services:
56
- PROXY_UPSTREAM=frontend:8080
57
ports:
48
58
- 80:80
59
60
61
62
63
+ tag: app.demo.lb
49
64
50
65
mode: global
51
66
placement:
0 commit comments