-
Notifications
You must be signed in to change notification settings - Fork 8
/
typeloy.json
82 lines (70 loc) · 2.07 KB
/
typeloy.json
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
{
// Server authentication info
"sites":{
"myapp": {
"servers": [
{
"host": "hostname",
"username": "root",
"password": "password"
// or pem file (ssh based authentication)
//"pem": "~/.ssh/id_rsa"
}
],
"ssl": {
"certbot": {
"email": "your@email.com",
"domain": "thedomain.com"
}
},
"env": {
"ROOT_URL": "https://aabb.aabbcc.com",
"PORT": 3000,
"MAIL_URL":"smtp://aa@xxaaxx.com:xxxxxxx@smtp.gmail.com:465/",
"MONGO_URL": "mongodb://localhost:27017/aabb"
}
}
},
"setup": {
// Install MongoDB in the server, does not destroy local MongoDB on future setup
"mongo": true,
// WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
"node": "4.6.0",
// Install PhantomJS in the server
"phantom": false
},
"build": {
// optional: build arch
"architecture": "os.linux.x86_64",
// optional: server option for --server http://localhost:3000 (for mobile app)
"server": "http://localhost:3000"
},
"meteor": {
"env": { "PACKAGE_DIRS": "../private-packages" }
},
"app": {
"name": "myapp",
"directory": ".",
"settings": "settings.json"
},
"mongo": {
"host": "localhost",
"port": 27017,
"database": "shaka",
"archive": { "file": "%app_name%_%today%.gz" }
},
"deploy": {
// Meteor Up checks if the app comes online just after the deployment
// before mup checks that, it will wait for no. of seconds configured below
"checkDelay": 15,
"exposeSiteName": true,
"exposeVersionInfo": true,
// Show a progress bar during the upload of the bundle to the server.
// Might cause an error in some rare cases if set to true, for instance in Shippable CI
"uploadProgress": true
},
// Configure common environment for all sites
"env": {
"ROOT_URL": "http://myapp.com"
}
}