-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvix.json
More file actions
135 lines (135 loc) · 3.02 KB
/
Copy pathvix.json
File metadata and controls
135 lines (135 loc) · 3.02 KB
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
{
"deps": [
{
"id": "rix/rix",
"version": "*"
},
{
"id": "rix/csv",
"version": "*"
},
{
"id": "rix/debug",
"version": "*"
},
{
"id": "rix/auth",
"version": "0.3.0"
},
{
"id": "rix/pdf",
"version": "0.1.0"
}
],
"description": "Production backend application generated by Vix.",
"license": "MIT",
"name": "pico",
"production": {
"database": {
"engine": "sqlite",
"migrations": "migrations",
"sqlite_path": "storage/pico.db"
},
"deploy": {
"branch": "main",
"build": "vix build",
"health_local": true,
"health_public": true,
"log_lines": 120,
"logs_on_failure": true,
"proxy_check": true,
"proxy_reload": true,
"pull": true,
"rollback": true,
"service": "pico",
"test_command": "vix tests",
"tests": false
},
"env": {
"required": [
"APP_NAME",
"APP_ENV",
"SERVER_PORT",
"PUBLIC_PATH",
"PUBLIC_MOUNT",
"PUBLIC_INDEX",
"PUBLIC_CACHE_CONTROL",
"PUBLIC_SPA_FALLBACK",
"PUBLIC_COMPRESSION",
"PUBLIC_COMPRESSION_MIN_SIZE",
"DATABASE_ENGINE",
"DATABASE_SQLITE_PATH"
]
},
"health": {
"expected_status": 200,
"local": "http://127.0.0.1:8080/health",
"max_response_ms": 3000,
"public": "https://pico.vixcpp.com/health",
"service": "pico",
"timeout_ms": 2000,
"websocket": "wss://pico.vixcpp.com/ws"
},
"logs": {
"lines": 120,
"nginx_access": "/var/log/nginx/pico.access.log",
"nginx_error": "/var/log/nginx/pico.error.log",
"service": "pico"
},
"ports": {
"http": 8080,
"websocket": 9090
},
"proxy": {
"domain": "pico.vixcpp.com",
"http": {
"port": 8080
},
"tls": {
"enabled": true
},
"websocket": {
"enabled": true,
"path": "/ws",
"port": 9090
}
},
"service": {
"exec": "build-ninja/bin/pico",
"limit_nofile": 65535,
"name": "pico",
"restart": "always",
"restart_sec": 3,
"user": "gaspard",
"working_dir": "/home/gaspard/vixcpp/pico"
},
"websocket": {
"heartbeat": true,
"host": "127.0.0.1",
"local_url": "ws://127.0.0.1:9090/ws",
"path": "/ws",
"port": 9090,
"public_url": "wss://pico.vixcpp.com/ws",
"timeout_ms": 5000
}
},
"tasks": {
"build": "vix build",
"check": "vix check --tests --run",
"deploy": "vix deploy",
"dev": "vix dev",
"doctor": "vix doctor production",
"env": "vix env check",
"health": "vix health",
"logs": "vix logs",
"orm:migrate": "vix orm migrate",
"orm:rollback": "vix orm rollback --steps 1",
"orm:status": "vix orm status",
"proxy": "vix proxy nginx check",
"service": "vix service status",
"test": "vix tests"
},
"template": "backend",
"type": "application",
"version": "0.1.0"
}