@hideandseeklab/aoox 0.1.0-alpha.4 → 0.1.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -10
- package/assets/install/docker-compose.dist.yml +12 -0
- package/oclif.manifest.json +41 -41
- package/package.json +23 -11
package/README.md
CHANGED
|
@@ -3,6 +3,12 @@ aoox
|
|
|
3
3
|
|
|
4
4
|
CLI for [aoox](https://github.com/hideandseeklab/aoox-api), a self-hosted PaaS — build and deploy
|
|
5
5
|
|
|
6
|
+
Website: [aoox.dev](https://aoox.dev) · Docs: [aoox.dev/docs](https://aoox.dev/docs) · Changelog: [aoox.dev/changelog](https://aoox.dev/changelog)
|
|
7
|
+
|
|
8
|
+
Related repos: [aoox-api](https://github.com/hideandseeklab/aoox-api) (backend) ·
|
|
9
|
+
[aoox-web](https://github.com/hideandseeklab/aoox-web) (dashboard) ·
|
|
10
|
+
[aoox-landing](https://github.com/hideandseeklab/aoox-landing) (website and docs).
|
|
11
|
+
|
|
6
12
|
|
|
7
13
|
[](https://oclif.io)
|
|
8
14
|
[](https://npmjs.org/package/@hideandseeklab/aoox)
|
|
@@ -21,7 +27,7 @@ $ npm install -g @hideandseeklab/aoox
|
|
|
21
27
|
$ aoox COMMAND
|
|
22
28
|
running command...
|
|
23
29
|
$ aoox (--version)
|
|
24
|
-
@hideandseeklab/aoox/0.1.0-alpha.
|
|
30
|
+
@hideandseeklab/aoox/0.1.0-alpha.6 linux-x64 node-v24.21.0
|
|
25
31
|
$ aoox --help [COMMAND]
|
|
26
32
|
USAGE
|
|
27
33
|
$ aoox COMMAND
|
|
@@ -126,7 +132,7 @@ EXAMPLES
|
|
|
126
132
|
$ aoox deploy --tag v1.2.3
|
|
127
133
|
```
|
|
128
134
|
|
|
129
|
-
_See code: [src/commands/deploy.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.
|
|
135
|
+
_See code: [src/commands/deploy.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.6/src/commands/deploy.ts)_
|
|
130
136
|
|
|
131
137
|
## `aoox domain set`
|
|
132
138
|
|
|
@@ -152,7 +158,7 @@ EXAMPLES
|
|
|
152
158
|
$ aoox domain set --web panel.example.com --api api.example.com --acme-email you@example.com
|
|
153
159
|
```
|
|
154
160
|
|
|
155
|
-
_See code: [src/commands/domain/set.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.
|
|
161
|
+
_See code: [src/commands/domain/set.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.6/src/commands/domain/set.ts)_
|
|
156
162
|
|
|
157
163
|
## `aoox help [COMMAND]`
|
|
158
164
|
|
|
@@ -205,7 +211,7 @@ EXAMPLES
|
|
|
205
211
|
sudo aoox install --web-domain panel.example.com --api-domain api.panel.example.com --acme-email me@example.com
|
|
206
212
|
```
|
|
207
213
|
|
|
208
|
-
_See code: [src/commands/install.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.
|
|
214
|
+
_See code: [src/commands/install.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.6/src/commands/install.ts)_
|
|
209
215
|
|
|
210
216
|
## `aoox link`
|
|
211
217
|
|
|
@@ -230,7 +236,7 @@ EXAMPLES
|
|
|
230
236
|
$ aoox link --project <id> --app <id>
|
|
231
237
|
```
|
|
232
238
|
|
|
233
|
-
_See code: [src/commands/link.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.
|
|
239
|
+
_See code: [src/commands/link.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.6/src/commands/link.ts)_
|
|
234
240
|
|
|
235
241
|
## `aoox login`
|
|
236
242
|
|
|
@@ -253,7 +259,7 @@ EXAMPLES
|
|
|
253
259
|
$ aoox login --url https://panel.example.com --token aoox_xxx
|
|
254
260
|
```
|
|
255
261
|
|
|
256
|
-
_See code: [src/commands/login.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.
|
|
262
|
+
_See code: [src/commands/login.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.6/src/commands/login.ts)_
|
|
257
263
|
|
|
258
264
|
## `aoox plugins`
|
|
259
265
|
|
|
@@ -568,7 +574,7 @@ EXAMPLES
|
|
|
568
574
|
$ aoox registry domain --clear
|
|
569
575
|
```
|
|
570
576
|
|
|
571
|
-
_See code: [src/commands/registry/domain.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.
|
|
577
|
+
_See code: [src/commands/registry/domain.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.6/src/commands/registry/domain.ts)_
|
|
572
578
|
|
|
573
579
|
## `aoox reinstall`
|
|
574
580
|
|
|
@@ -598,7 +604,7 @@ EXAMPLES
|
|
|
598
604
|
sudo aoox reinstall --yes --terminal-ssh-user root
|
|
599
605
|
```
|
|
600
606
|
|
|
601
|
-
_See code: [src/commands/reinstall.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.
|
|
607
|
+
_See code: [src/commands/reinstall.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.6/src/commands/reinstall.ts)_
|
|
602
608
|
|
|
603
609
|
## `aoox update`
|
|
604
610
|
|
|
@@ -622,7 +628,7 @@ EXAMPLES
|
|
|
622
628
|
$ aoox update --apply
|
|
623
629
|
```
|
|
624
630
|
|
|
625
|
-
_See code: [src/commands/update.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.
|
|
631
|
+
_See code: [src/commands/update.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.6/src/commands/update.ts)_
|
|
626
632
|
|
|
627
633
|
## `aoox whoami`
|
|
628
634
|
|
|
@@ -648,7 +654,7 @@ EXAMPLES
|
|
|
648
654
|
$ aoox whoami --json
|
|
649
655
|
```
|
|
650
656
|
|
|
651
|
-
_See code: [src/commands/whoami.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.
|
|
657
|
+
_See code: [src/commands/whoami.ts](https://github.com/hideandseeklab/aoox-cli/blob/v0.1.0-alpha.6/src/commands/whoami.ts)_
|
|
652
658
|
<!-- commandsstop -->
|
|
653
659
|
|
|
654
660
|
## Versioning
|
|
@@ -109,6 +109,18 @@ services:
|
|
|
109
109
|
# SSH). Leave empty to keep configuring the panel's own domain manually
|
|
110
110
|
# via docker-compose.domain.yml (see its header).
|
|
111
111
|
INSTALL_DIR: ${INSTALL_DIR:-}
|
|
112
|
+
# The image references this stack was started from, same defaults as the
|
|
113
|
+
# `image:` lines below. Settings -> "Update aoox" reads API_IMAGE to tell
|
|
114
|
+
# whether the install follows :latest (a pinned tag never gets an "update
|
|
115
|
+
# available" badge), so keep them identical to the `image:` values.
|
|
116
|
+
API_IMAGE: ${API_IMAGE:-hideandseeklab/aoox-api:latest}
|
|
117
|
+
WEB_IMAGE: ${WEB_IMAGE:-hideandseeklab/aoox-web:latest}
|
|
118
|
+
# Optional switches, empty = off/unset. WEBHOOK_VERIFY_GITHUB_IP=true also
|
|
119
|
+
# requires GitHub deliveries to come from GitHub's published IP ranges;
|
|
120
|
+
# PREVIEW_DOMAIN is the base domain for pull-request previews
|
|
121
|
+
# (<app>-pr<N>.<domain>, needs a wildcard DNS record).
|
|
122
|
+
WEBHOOK_VERIFY_GITHUB_IP: ${WEBHOOK_VERIFY_GITHUB_IP:-}
|
|
123
|
+
PREVIEW_DOMAIN: ${PREVIEW_DOMAIN:-}
|
|
112
124
|
# The api container runs as the unprivileged `node` user; add the gid that
|
|
113
125
|
# owns the docker socket on the host (stat -c %g /var/run/docker.sock).
|
|
114
126
|
group_add:
|
package/oclif.manifest.json
CHANGED
|
@@ -441,13 +441,13 @@
|
|
|
441
441
|
"whoami.js"
|
|
442
442
|
]
|
|
443
443
|
},
|
|
444
|
-
"domain
|
|
444
|
+
"registry:domain": {
|
|
445
445
|
"aliases": [],
|
|
446
446
|
"args": {},
|
|
447
|
-
"description": "Set domain kustom untuk
|
|
447
|
+
"description": "Set atau hapus domain kustom untuk registry self-hosted",
|
|
448
448
|
"examples": [
|
|
449
|
-
"<%= config.bin %> <%= command.id %> --
|
|
450
|
-
"<%= config.bin %> <%= command.id %> --
|
|
449
|
+
"<%= config.bin %> <%= command.id %> --set registry.example.com",
|
|
450
|
+
"<%= config.bin %> <%= command.id %> --clear"
|
|
451
451
|
],
|
|
452
452
|
"flags": {
|
|
453
453
|
"token": {
|
|
@@ -468,25 +468,15 @@
|
|
|
468
468
|
"multiple": false,
|
|
469
469
|
"type": "option"
|
|
470
470
|
},
|
|
471
|
-
"
|
|
472
|
-
"description": "
|
|
473
|
-
"name": "
|
|
474
|
-
"
|
|
475
|
-
"
|
|
476
|
-
"type": "option"
|
|
477
|
-
},
|
|
478
|
-
"api": {
|
|
479
|
-
"description": "Domain untuk API panel",
|
|
480
|
-
"name": "api",
|
|
481
|
-
"required": true,
|
|
482
|
-
"hasDynamicHelp": false,
|
|
483
|
-
"multiple": false,
|
|
484
|
-
"type": "option"
|
|
471
|
+
"clear": {
|
|
472
|
+
"description": "Hapus domain, kembali ke host:port",
|
|
473
|
+
"name": "clear",
|
|
474
|
+
"allowNo": false,
|
|
475
|
+
"type": "boolean"
|
|
485
476
|
},
|
|
486
|
-
"
|
|
487
|
-
"description": "Domain untuk
|
|
488
|
-
"name": "
|
|
489
|
-
"required": true,
|
|
477
|
+
"set": {
|
|
478
|
+
"description": "Domain untuk registry self-hosted",
|
|
479
|
+
"name": "set",
|
|
490
480
|
"hasDynamicHelp": false,
|
|
491
481
|
"multiple": false,
|
|
492
482
|
"type": "option"
|
|
@@ -494,7 +484,7 @@
|
|
|
494
484
|
},
|
|
495
485
|
"hasDynamicHelp": false,
|
|
496
486
|
"hiddenAliases": [],
|
|
497
|
-
"id": "domain
|
|
487
|
+
"id": "registry:domain",
|
|
498
488
|
"pluginAlias": "@hideandseeklab/aoox",
|
|
499
489
|
"pluginName": "@hideandseeklab/aoox",
|
|
500
490
|
"pluginType": "core",
|
|
@@ -504,17 +494,17 @@
|
|
|
504
494
|
"relativePath": [
|
|
505
495
|
"dist",
|
|
506
496
|
"commands",
|
|
507
|
-
"
|
|
508
|
-
"
|
|
497
|
+
"registry",
|
|
498
|
+
"domain.js"
|
|
509
499
|
]
|
|
510
500
|
},
|
|
511
|
-
"
|
|
501
|
+
"domain:set": {
|
|
512
502
|
"aliases": [],
|
|
513
503
|
"args": {},
|
|
514
|
-
"description": "Set
|
|
504
|
+
"description": "Set domain kustom untuk panel itu sendiri (bukan aplikasi) lewat API panel yang sudah jalan",
|
|
515
505
|
"examples": [
|
|
516
|
-
"<%= config.bin %> <%= command.id %> --
|
|
517
|
-
"<%= config.bin %> <%= command.id %> --
|
|
506
|
+
"<%= config.bin %> <%= command.id %> --web panel.example.com --api api.example.com",
|
|
507
|
+
"<%= config.bin %> <%= command.id %> --web panel.example.com --api api.example.com --acme-email you@example.com"
|
|
518
508
|
],
|
|
519
509
|
"flags": {
|
|
520
510
|
"token": {
|
|
@@ -535,15 +525,25 @@
|
|
|
535
525
|
"multiple": false,
|
|
536
526
|
"type": "option"
|
|
537
527
|
},
|
|
538
|
-
"
|
|
539
|
-
"description": "
|
|
540
|
-
"name": "
|
|
541
|
-
"
|
|
542
|
-
"
|
|
528
|
+
"acme-email": {
|
|
529
|
+
"description": "Email untuk sertifikat Let's Encrypt",
|
|
530
|
+
"name": "acme-email",
|
|
531
|
+
"hasDynamicHelp": false,
|
|
532
|
+
"multiple": false,
|
|
533
|
+
"type": "option"
|
|
543
534
|
},
|
|
544
|
-
"
|
|
545
|
-
"description": "Domain untuk
|
|
546
|
-
"name": "
|
|
535
|
+
"api": {
|
|
536
|
+
"description": "Domain untuk API panel",
|
|
537
|
+
"name": "api",
|
|
538
|
+
"required": true,
|
|
539
|
+
"hasDynamicHelp": false,
|
|
540
|
+
"multiple": false,
|
|
541
|
+
"type": "option"
|
|
542
|
+
},
|
|
543
|
+
"web": {
|
|
544
|
+
"description": "Domain untuk dashboard panel",
|
|
545
|
+
"name": "web",
|
|
546
|
+
"required": true,
|
|
547
547
|
"hasDynamicHelp": false,
|
|
548
548
|
"multiple": false,
|
|
549
549
|
"type": "option"
|
|
@@ -551,7 +551,7 @@
|
|
|
551
551
|
},
|
|
552
552
|
"hasDynamicHelp": false,
|
|
553
553
|
"hiddenAliases": [],
|
|
554
|
-
"id": "
|
|
554
|
+
"id": "domain:set",
|
|
555
555
|
"pluginAlias": "@hideandseeklab/aoox",
|
|
556
556
|
"pluginName": "@hideandseeklab/aoox",
|
|
557
557
|
"pluginType": "core",
|
|
@@ -561,10 +561,10 @@
|
|
|
561
561
|
"relativePath": [
|
|
562
562
|
"dist",
|
|
563
563
|
"commands",
|
|
564
|
-
"
|
|
565
|
-
"
|
|
564
|
+
"domain",
|
|
565
|
+
"set.js"
|
|
566
566
|
]
|
|
567
567
|
}
|
|
568
568
|
},
|
|
569
|
-
"version": "0.1.0-alpha.
|
|
569
|
+
"version": "0.1.0-alpha.6"
|
|
570
570
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hideandseeklab/aoox",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"version": "0.1.0-alpha.6",
|
|
4
|
+
"description": "aoox CLI — build, deploy and manage a self-hosted aoox PaaS from your terminal",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"oclif",
|
|
7
|
+
"aoox",
|
|
8
|
+
"self-hosted",
|
|
9
|
+
"paas",
|
|
10
|
+
"docker",
|
|
11
|
+
"deploy",
|
|
12
|
+
"git-deploy",
|
|
13
|
+
"cli",
|
|
14
|
+
"nixpacks",
|
|
15
|
+
"railpack",
|
|
16
|
+
"traefik"
|
|
17
|
+
],
|
|
18
|
+
"homepage": "https://aoox.dev",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/hideandseeklab/aoox-cli.git"
|
|
22
|
+
},
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/hideandseeklab/aoox-cli/issues"
|
|
25
|
+
},
|
|
5
26
|
"author": "hideandseeklab <hideandseek.developer@gmail.com>",
|
|
6
27
|
"publishConfig": {
|
|
7
28
|
"access": "public"
|
|
@@ -9,7 +30,6 @@
|
|
|
9
30
|
"bin": {
|
|
10
31
|
"aoox": "./bin/run.js"
|
|
11
32
|
},
|
|
12
|
-
"bugs": "https://github.com/hideandseeklab/aoox-cli/issues",
|
|
13
33
|
"dependencies": {
|
|
14
34
|
"@inquirer/prompts": "^8.7.2",
|
|
15
35
|
"@oclif/core": "^4",
|
|
@@ -42,10 +62,6 @@
|
|
|
42
62
|
"./dist",
|
|
43
63
|
"./oclif.manifest.json"
|
|
44
64
|
],
|
|
45
|
-
"homepage": "https://github.com/hideandseeklab/aoox-cli",
|
|
46
|
-
"keywords": [
|
|
47
|
-
"oclif"
|
|
48
|
-
],
|
|
49
65
|
"license": "Apache-2.0",
|
|
50
66
|
"main": "dist/index.js",
|
|
51
67
|
"type": "module",
|
|
@@ -70,10 +86,6 @@
|
|
|
70
86
|
}
|
|
71
87
|
}
|
|
72
88
|
},
|
|
73
|
-
"repository": {
|
|
74
|
-
"type": "git",
|
|
75
|
-
"url": "git+https://github.com/hideandseeklab/aoox-cli.git"
|
|
76
|
-
},
|
|
77
89
|
"scripts": {
|
|
78
90
|
"build": "shx rm -rf dist && tsc -b",
|
|
79
91
|
"lint": "eslint --max-warnings=0",
|