-
Notifications
You must be signed in to change notification settings - Fork 3
/
serverless.yml
135 lines (120 loc) · 3.45 KB
/
serverless.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
service: workers
frameworkVersion: '3'
useDotenv: true
provider:
name: aws
profile: hostero
runtime: nodejs14.x
region: eu-central-1
stage: ${opt:stage, 'prod'}
memorySize: 1024
timeout: 900
environment:
MYSQL_CONNECTION_STRING: ${env:MYSQL_CONNECTION_STRING}
TELEGRAM_TOKEN: ${env:TELEGRAM_TOKEN}
WEBDSCAN_TOKEN: ${env:WEBDSCAN_TOKEN}
MAILGUN_KEY: ${env:MAILGUN_KEY}
WEBDOLLAR_NODE_URL: ${env:WEBDOLLAR_NODE_URL}
WEBDOLLAR_NODE_KEY: ${env:WEBDOLLAR_NODE_KEY}
STRIPE_SECRET_KEY: ${env:STRIPE_SECRET_KEY}
STRIPE_SIGNING_SECRET: ${env:STRIPE_SIGNING_SECRET}
PAYPAL_CLIENT_SECRET: ${env:PAYPAL_CLIENT_SECRET}
COINMARKETCAP_KEY: ${env:COINMARKETCAP_KEY}
functions:
# process_inbound_transactions:
# memorySize: 256
# handler: workers/process_inbound_transactions3.handler
# events:
# - schedule: rate(1 minute)
# environment:
# NODE_ENV: production
# process_outbound_transactions:
# memorySize: 256
# handler: workers/process_outbound_transactions3.handler
# events:
# - schedule: rate(1 minute)
# environment:
# NODE_ENV: production
# credit_accounts:
# memorySize: 128
# handler: workers/credit_accounts.handler
# events:
# - schedule: rate(1 minute)
# environment:
# NODE_ENV: production
# process_withdraws:
# memorySize: 256
# handler: workers/process_withdraws.handler
# events:
# - schedule: rate(10 minutes)
# environment:
# NODE_ENV: production
# create_stake:
# memorySize: 1024
# handler: workers/create_stake.handler
# events:
# - schedule: cron(0 10 * * ? *)
# environment:
# NODE_ENV: production
# update_webdollar_price:
# memorySize: 256
# handler: workers/update_webdollar_price.handler
# events:
# - schedule: rate(30 minutes)
# environment:
# NODE_ENV: production
# check_node_fork_tip_bot:
# memorySize: 256
# handler: workers/check_node_fork.handler
# events:
# - schedule: rate(20 minutes)
# environment:
# NODE_ENV: production
# NODE_URL: ${env:WEBDOLLAR_NODE_URL}
# DELTA: 10
# check_node_fork_tip_bot_cold:
# memorySize: 256
# handler: workers/check_node_fork.handler
# events:
# - schedule: rate(20 minutes)
# environment:
# NODE_ENV: production
# NODE_URL: ${env:WEBDOLLAR_COLD_NODE_URL}
# DELTA: 10
# check_node_fork_tip_bot_madalin:
# memorySize: 256
# handler: workers/check_node_fork.handler
# events:
# - schedule: rate(20 minutes)
# environment:
# NODE_ENV: production
# NODE_URL: ${env:WEBDOLLAR_MADALIN_NODE_URL}
# DELTA: 10
# capture_paypal_orders:
# memorySize: 256
# handler: workers/capture_paypal_orders.handler
# events:
# - schedule: rate(2 minutes)
# environment:
# NODE_ENV: production
# distribute_lottery_rewards:
# memorySize: 256
# handler: workers/distribute_lottery_rewards.handler
# events:
# - schedule: rate(5 minutes)
# environment:
# NODE_ENV: production
# unlock_balances:
# memorySize: 256
# handler: workers/unlock_balances.handler
# events:
# - schedule: rate(60 minutes)
# environment:
# NODE_ENV: production
# show_game_rewards:
# memorySize: 256
# handler: workers/show_game_rewards.handler
# events:
# - schedule: cron(0 13 * * ? *)
# environment:
# NODE_ENV: production