forked from argos-ci/argos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
65 lines (61 loc) · 1.69 KB
/
Copy pathdocker-compose.yml
File metadata and controls
65 lines (61 loc) · 1.69 KB
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
services:
postgres:
# Production runs AWS RDS for PostgreSQL 17.9. Dev/CI are intentionally
# ahead on 18, to validate the 18.4 major upgrade before it ships to RDS.
image: postgres:18-alpine
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
ports:
- "5432:5432"
volumes:
- pg_data:/var/lib/postgresql/18/docker
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "db_prod"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
rabbitmq:
# Pinned to match production (Amazon MQ for RabbitMQ 4.2), which is the
# latest version Amazon MQ offers. The floating `4-alpine` tag now resolves
# to 4.3, which changes redelivery accounting.
image: rabbitmq:4.2-alpine
ports:
- "15672:15672"
- "5672:5672"
volumes:
- "./rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins"
healthcheck:
test: ["CMD-SHELL", "rabbitmq-diagnostics", "-q", "ping"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
redis:
command: redis-server --appendonly yes
# Last time I have checked, production is running 6.2.14
image: redis:6-alpine
ports:
- "6380:6379"
volumes:
- redis_data:/data
healthcheck:
test: ["CMD-SHELL", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
dynamodb:
image: amazon/dynamodb-local
ports:
- "8000:8000"
command: "-jar DynamoDBLocal.jar -sharedDb -inMemory"
healthcheck:
test: ["CMD-SHELL", "curl", "-f", "http://localhost:8000"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
volumes:
pg_data:
redis_data: