-
Notifications
You must be signed in to change notification settings - Fork 0
/
barcelona.yml
47 lines (47 loc) · 1.22 KB
/
barcelona.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
environments:
production:
name: barcelona2
image_name: public.ecr.aws/degica/barcelona
before_deploy: rake db:migrate
scheduled_tasks:
# 10AM JST every week day
- schedule: cron(0 1 ? * MON-FRI *)
command: bin/chaos
services:
- name: web
service_type: web
cpu: 128
memory: 256
command: puma -C config/puma.rb
web_container_port: 3000
force_ssl: true
listeners:
- endpoint: barcelona-second
health_check_path: /health_check
- name: worker
command: rake jobs:work
cpu: 128
memory: 256
test:
name: barcelona
image_name: public.ecr.aws/degica/barcelona
before_deploy: rake db:migrate
scheduled_tasks:
# 10AM JST every week day
- schedule: cron(0 1 ? * MON-FRI *)
command: bin/chaos
services:
- name: web
service_type: web
cpu: 128
memory: 256
command: puma -C config/puma.rb
web_container_port: 3000
force_ssl: true
listeners:
- endpoint: barcelona
health_check_path: /health_check
- name: worker
command: rake jobs:work
cpu: 128
memory: 256