-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.Staging.Infrastructure.yaml
67 lines (62 loc) · 1.32 KB
/
docker-compose.Staging.Infrastructure.yaml
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
version: "3.9"
services:
mssql:
container_name: mssql
image: mcr.microsoft.com/mssql/server
ports:
- "1433"
environment:
SA_PASSWORD: "!MyStrongPassword"
ACCEPT_EULA: "Y"
healthcheck:
test: /opt/mssql-tools/bin/sqlcmd -S mssql -U sa -P "$$SA_PASSWORD" -Q "SELECT 1" || exit 1
deploy:
resources:
limits:
cpus: '1'
memory: 2G
restart_policy:
condition: any
networks:
- internal
rabbitmq:
container_name: rabbitmq
image: rabbitmq:3-management-alpine
ports:
- "5672"
- "15672"
environment:
RABBITMQ_DEFAULT_USER: "guest"
RABBITMQ_DEFAULT_PASS: "guest"
RABBITMQ_DEFAULT_VHOST: "reminder"
healthcheck:
test: rabbitmq-diagnostics -q ping
deploy:
resources:
limits:
cpus: '1'
memory: 400M
restart_policy:
condition: any
networks:
- internal
reminder:
container_name: reminder
image: nginx:alpine
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- "5000:5000"
deploy:
resources:
limits:
cpus: '1'
memory: 100M
restart_policy:
condition: any
networks:
- internal
networks:
internal:
name: internal
driver: bridge