-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathservicecontrol.yml
More file actions
52 lines (46 loc) · 1.61 KB
/
servicecontrol.yml
File metadata and controls
52 lines (46 loc) · 1.61 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
# Important changes here due to new ServiceControl development should also be made in the following locations:
# * /docs/test-ghcr-tag
# * https://github.com/Particular/PlatformContainerExamples/tree/main/docker-compose
# * https://github.com/ParticularLabs/AwsLoanBrokerSample/blob/main/docker-compose.yml
name: service-platform
services:
servicecontrol:
image: ghcr.io/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
depends_on:
servicecontrol-db:
condition: service_healthy
# WARNING: A single database container should not be shared between multiple ServiceControl instances in production scenarios.
servicecontrol-db:
image: ghcr.io/particular/servicecontrol-ravendb:${SERVICECONTROL_TAG}
ports:
- "8080:8080"
volumes:
- db-config:/etc/ravendb
- db-data:/var/lib/ravendb/data
servicecontrol-audit:
image: ghcr.io/particular/servicecontrol-audit:${SERVICECONTROL_TAG}
env_file: .env
ports:
- "44444:44444"
environment:
RAVENDB_CONNECTIONSTRING: http://servicecontrol-db:8080
command: --setup-and-run
depends_on:
servicecontrol-db:
condition: service_healthy
servicecontrol-monitoring:
image: ghcr.io/particular/servicecontrol-monitoring:${SERVICECONTROL_TAG}
env_file: .env
command: --setup-and-run
ports:
- "33633:33633"
volumes:
db-config:
db-data: