-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
77 lines (77 loc) · 1.46 KB
/
compose.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
configs:
app01:
is_public: true
use_alb: true
use_nlb: false
app02:
use_alb: false
use_cloudmap: true
use_nlb: false
app03:
use_alb: false
use_cloudmap: true
use_nlb: false
composex:
use_exports: false
use_ssm: false
globals:
network:
use_cloudmap: true
spot_config:
bid_price: 0.42
spot_instance_types:
m5a.2xlarge:
weight: 8
m5a.4xlarge:
weight: 16
m5a.xlarge:
weight: 4
use_spot: true
services:
app01:
environment:
NAME: DISPATCH
image: 373709687836.dkr.ecr.eu-west-1.amazonaws.com/blog-app-01:1586220149
links:
- app03
ports:
- 80:80
app02:
environment:
NAME: batcher
image: nginx
app03:
environment:
NAME: timeteller
image: $373709687836.dkr.ecr.eu-west-1.amazonaws.com/blog-app-03:sha256:0deaabb2700d5253a0c90dc43492bf1108a806af4f451505db223552b1769613
labels:
healthcheck:
http: 80/
use_cloudmap: true
ports:
- 80:80
x-sqs:
DLQ:
Properties: {}
Services:
- access: RWMessages
name: app02
Queue01:
Properties:
RedrivePolicy:
deadLetterTargetArn: DLQ
maxReceiveCount: 1
Services:
- access: RWPermissions
name: app01
Settings:
EnvNames:
- APP_QUEUE
- AppQueue
x-tags:
- name: costcentre
value: LambdaMyAws
- name: owner
value: JohnPreston
- name: mail
value: [email protected]