-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnpmctl.config.json
More file actions
51 lines (51 loc) · 1.81 KB
/
npmctl.config.json
File metadata and controls
51 lines (51 loc) · 1.81 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
{
"schemaVersion": 1,
"site": "docs.peagen.com",
"repository": "swarmauri/docs-peagen-com",
"orchestrator": "npmctl-pypi",
"dns": {
"provider": "namecheap",
"zone": "peagen.com",
"records": [
{
"type": "A",
"host": "docs",
"value": "SITE_SERVER_IP_SECRET",
"ttl": 300
}
],
"providerPackage": "npmctl-namecheap"
},
"deploy": {
"target": "self-hosted-docker",
"service": "docs-peagen-com",
"composeFile": "docker-compose.yaml",
"proxyManager": {
"provider": "nginx-proxy-manager",
"apiEndpoint": "NPM_BASE_URL_SECRET"
}
},
"commands": {
"install": "npm ci",
"check": "npm run check",
"build": "npm run build",
"docker:build": "docker compose build docs-peagen-com",
"dns:plan": "npmctl plan desired-state/dns.yaml --owner docs-peagen-com",
"deploy:dry-run": "node scripts/deploy.mjs --dry-run",
"deploy": "docker compose up -d --build --force-recreate --no-deps docs-peagen-com",
"npmctl:install": "python -m pip install --upgrade \"npmctl>=0.3.10\" \"npmctl-namecheap>=0.3.10\"",
"npmctl:validate": "npmctl validate desired-state",
"npmctl:schema": "npmctl schema check",
"dns:doctor": "npmctl dns doctor --provider namecheap",
"dns:apply": "npmctl apply desired-state/dns.yaml --owner docs-peagen-com",
"proxy:validate": "npmctl validate desired-state/proxy.yaml",
"proxy:plan": "npmctl plan desired-state/proxy.yaml --owner docs-peagen-com",
"proxy:apply": "npmctl apply desired-state/proxy.yaml --owner docs-peagen-com"
},
"npmctl": {
"package": "npmctl",
"dnsProviderPackage": "npmctl-namecheap",
"installCommand": "python -m pip install --upgrade \"npmctl>=0.3.10\" \"npmctl-namecheap>=0.3.10\"",
"proxyManagerApiEndpoint": "NPM_BASE_URL_SECRET"
}
}