This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.yml
70 lines (66 loc) · 1.65 KB
/
build.yml
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
deploy:
repository: buildsystem
registry: 123456789012.dkr.ecr.us-west-1.amazonaws.com
ecs_task_execution_role_arn: arn:aws:iam::123456789012:role/ecs_task_execution
aws_region: us-west-1
subnets:
- subnet-12345678901234567
- subnet-12345678901234568
security_groups:
- sg-1234567890asdfghj
clusters:
develop: DEVELOP
staging: STAGING
production: PRODUCTION
projects:
rails:
docker_build_args:
RAILS_ENV: production
image: rails
docker_tasks:
rails_daemon:
task_definition:
default:
cpu: 512
memory: 1024
task_environment:
ENABLE_DAEMON: 1
RAILS_MAX_THREADS: 8
WORKER_QUEUE: '@web'
rails_web:
task_definition:
default:
cpu: 512
memory: 1024
task_environment:
ENABLE_WEB: 1
ENABLE_CRON: 1
RAILS_MAX_THREADS: 8
WORKER_QUEUE: '@web'
rails_worker:
task_definition:
default:
cpu: 512
memory: 1024
task_environment:
ENABLE_WORKERS: 1
RAILS_MAX_THREADS: 10
WORKER_QUEUE: '*'
rails_worker_orders_queue:
task_definition:
default:
cpu: 1024
memory: 2048
task_environment:
ENABLE_WORKERS: 1
RAILS_MAX_THREADS: 10
WORKER_QUEUE: '@orders_queue'
rails_worker_fast_queue:
task_definition:
default:
cpu: 512
memory: 1024
task_environment:
ENABLE_WORKERS: 1
RAILS_MAX_THREADS: 10
WORKER_QUEUE: '@fast_queue'