-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsubstrate.config.yaml
52 lines (44 loc) · 2.36 KB
/
substrate.config.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
### Generic service
[service_name]:
internal_port: REQUIRED - the internal port used to access the service
service_command: REQUIRED when 'aws' is defined - the service command to use when running on AWS
image: REQUIRED when 'docker' is defined - the image to use when running on Docker
### Define the data source
data:
source: REQUIRED - a list of paths or URLs pointing to the data to use
- /path/to/data
- /path/to/data/dataset.dat
- https://data.com/dataset.dat
target: REQUIRED if using a local deployment and a URL data source - where to place the downloaded data on the local file system
### Local deployment
### Each node should have Docker Engine installed.
docker:
network: OPTIONAL - the name of the overlay network to use
port: OPTIONAL - the port to be expose the Docker service on
replicas: OPTIONAL - the number of replicas the Docker swarm should use
advertise_addr: REQUIRED if using multiple local nodes - the IP:PORT to use to add nodes to the swarm
managers: OPTIONAL - Addresses of nodes that should be added to the swarm as managers
- manager2.com
- ip.of.manager.3
workers: OPTIONAL - Addresses of nodes that should be added to the swarm as workers
- ip.of.worker.1
- worker2.ai
- ip.of.worker.3
### AWS deployment
aws:
ami: REQUIRED if you don't have access to SSM - the ID of the Amazon Machine Image to use
https: OPTIONAL (default: false) - should the container deploy an Application Load Balancer in front of the EC2 instance? You will need to add your own SSL cert to the balancer before HTTPS will work.
region: REQUIRED - the region to deploy to
replicas: OPTIONAL - the number of replicas the Docker swarm should use
role_arn: REQUIRED if you don't have access to create IAM roles - the role ARN of the IAM role you want to use to deploy
save_logs: OPTIONAL (default: true) - sync the EC2 leader's cloud-init logs to S3 after each command
managers: REQUIRED - list of the type and count of EC2 instances to use as managers
't3.micro': 1
workers: OPTIONAL - list of the type and count of EC2 instances to use as workers
't3.micro': 3
### Tool settings
tapestry:
directory: OPTIONAL - directory containing files needed for Tapestry to run
braid:
directory: OPTIONAL - directory containing files needed for VCI to run
file_pattern: REQUIRED - a file pattern that describes all of the data files