-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompose.yml
More file actions
91 lines (84 loc) · 2.41 KB
/
compose.yml
File metadata and controls
91 lines (84 loc) · 2.41 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: service-platform
services:
servicecontrol:
image: particular/servicecontrol:${SERVICECONTROL_TAG}
env_file: .env
ports:
- "33333:33333"
environment:
RAVENDB_CONNECTIONSTRING: http://servicecontrol-db:8080
REMOTEINSTANCES: '[{"api_uri":"http://servicecontrol-audit:44444/api"}]'
command: --setup-and-run
restart: unless-stopped
depends_on:
servicecontrol-db:
condition: service_healthy
rabbitmq:
condition: service_healthy
# WARNING: A single database container should not be shared between multiple ServiceControl instances in production scenarios.
servicecontrol-db:
image: particular/servicecontrol-ravendb:${SERVICECONTROL_TAG}
ports:
- "8080:8080"
volumes:
- raven-config:/var/lib/ravendb/config
- raven-data:/var/lib/ravendb/data
servicecontrol-audit:
image: particular/servicecontrol-audit:${SERVICECONTROL_TAG}
env_file: .env
ports:
- "44444:44444"
environment:
RAVENDB_CONNECTIONSTRING: http://servicecontrol-db:8080
SERVICECONTROLQUEUEADDRESS: Particular.ServiceControl
command: --setup-and-run
restart: unless-stopped
depends_on:
servicecontrol-db:
condition: service_healthy
rabbitmq:
condition: service_healthy
servicecontrol-monitoring:
image: particular/servicecontrol-monitoring:${SERVICECONTROL_TAG}
env_file: .env
restart: unless-stopped
command: --setup-and-run
ports:
- "33633:33633"
depends_on:
rabbitmq:
condition: service_healthy
servicepulse:
image: particular/servicepulse:${SERVICEPULSE_TAG}
ports:
- "9090:9090"
environment:
SERVICECONTROL_URL: http://servicecontrol:33333
MONITORING_URL: http://servicecontrol-monitoring:33633
restart: unless-stopped
depends_on:
servicecontrol:
condition: service_healthy
servicecontrol-monitoring:
condition: service_healthy
rabbitmq:
condition: service_healthy
rabbitmq:
image: rabbitmq:3-management
ports:
- "5672:5672"
- "15672:15672"
restart: unless-stopped
healthcheck:
test: rabbitmq-diagnostics check_port_connectivity
interval: 30s
timeout: 10s
start_period: 30s
start_interval: 10s
retries: 3
volumes:
- rabbitmq-data:/var/lib/rabbitmq
volumes:
rabbitmq-data:
raven-config:
raven-data: