@cyaxis/ulvia 1.0.3 → 1.0.8
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/INSTALLATION.md +109 -177
- package/README.md +81 -71
- package/dist/definitions/services.yml +2 -37
- package/dist/index.js +32866 -20767
- package/package.json +3 -3
- package/dist/definitions/repository-tls.yml +0 -38
- package/dist/definitions/repository.yml +0 -32
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyaxis/ulvia",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Ulvia CMS installation and release CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"LICENSE"
|
|
15
15
|
],
|
|
16
16
|
"engines": {
|
|
17
|
-
"bun": ">=1.4.
|
|
17
|
+
"bun": ">=1.4.4"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"css-tree": "3.2.1",
|
|
21
|
-
"playwright": "1.
|
|
21
|
+
"playwright": "1.64.1"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public",
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
services:
|
|
2
|
-
repository:
|
|
3
|
-
environment:
|
|
4
|
-
VIRTUAL_HOST: ${ULVIA_REPOSITORY_DOMAIN}
|
|
5
|
-
VIRTUAL_PORT: "3000"
|
|
6
|
-
LETSENCRYPT_HOST: ${ULVIA_REPOSITORY_DOMAIN}
|
|
7
|
-
proxy:
|
|
8
|
-
image: nginxproxy/nginx-proxy:1.11.5@sha256:e06db5fb9586234e9c2bdef707c8b8d784caa4fb49fbe7285eb3730a501c3eaa
|
|
9
|
-
restart: unless-stopped
|
|
10
|
-
ports:
|
|
11
|
-
- "0.0.0.0:80:80"
|
|
12
|
-
- "0.0.0.0:443:443"
|
|
13
|
-
volumes:
|
|
14
|
-
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
15
|
-
- ./nginx/client_max_body.conf:/etc/nginx/conf.d/zzz_client_max_body.conf:ro
|
|
16
|
-
- ./nginx/query_safe_access_log.conf:/etc/nginx/conf.d/zzz_query_safe_access_log.conf:ro
|
|
17
|
-
- ${ULVIA_REPOSITORY_PROXY_DIR}/certificates:/etc/nginx/certs
|
|
18
|
-
- ${ULVIA_REPOSITORY_PROXY_DIR}/virtual-hosts:/etc/nginx/vhost.d
|
|
19
|
-
- ${ULVIA_REPOSITORY_PROXY_DIR}/challenge:/usr/share/nginx/html
|
|
20
|
-
healthcheck:
|
|
21
|
-
test: ["CMD", "nginx", "-t"]
|
|
22
|
-
interval: 30s
|
|
23
|
-
timeout: 5s
|
|
24
|
-
retries: 3
|
|
25
|
-
start_period: 5s
|
|
26
|
-
acme:
|
|
27
|
-
image: nginxproxy/acme-companion:2.8.1@sha256:ccfceb9798b9f6586d47eeeadbb8e185c8897b34e011a2739a9b82d5e92a8b6c
|
|
28
|
-
restart: unless-stopped
|
|
29
|
-
depends_on:
|
|
30
|
-
proxy:
|
|
31
|
-
condition: service_healthy
|
|
32
|
-
volumes_from:
|
|
33
|
-
- proxy
|
|
34
|
-
volumes:
|
|
35
|
-
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
36
|
-
- ${ULVIA_REPOSITORY_PROXY_DIR}/acme:/etc/acme.sh
|
|
37
|
-
environment:
|
|
38
|
-
DEFAULT_EMAIL: ${ULVIA_ACME_EMAIL}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
services:
|
|
2
|
-
repository:
|
|
3
|
-
image: ${OFFICIAL_REPOSITORY_IMAGE}
|
|
4
|
-
restart: unless-stopped
|
|
5
|
-
init: true
|
|
6
|
-
user: "${ULVIA_UID}:${ULVIA_GID}"
|
|
7
|
-
environment:
|
|
8
|
-
MODE: PROD
|
|
9
|
-
NODE_ENV: production
|
|
10
|
-
REPOSITORY_HOST: 0.0.0.0
|
|
11
|
-
REPOSITORY_PORT: "3000"
|
|
12
|
-
REPOSITORY_PUBLIC_URL: ${ULVIA_REPOSITORY_PUBLIC_URL}
|
|
13
|
-
ULVIA_REPOSITORY_DIR: /var/lib/ulvia-repository
|
|
14
|
-
ULVIA_REPOSITORY_SEED_DIR: ""
|
|
15
|
-
volumes:
|
|
16
|
-
- type: bind
|
|
17
|
-
source: ${ULVIA_REPOSITORY_DIR}
|
|
18
|
-
target: /var/lib/ulvia-repository
|
|
19
|
-
ports:
|
|
20
|
-
- "127.0.0.1:${ULVIA_REPOSITORY_PORT}:3000"
|
|
21
|
-
read_only: true
|
|
22
|
-
tmpfs:
|
|
23
|
-
- /tmp:rw,nosuid,nodev,noexec,size=64m
|
|
24
|
-
cap_drop: [ALL]
|
|
25
|
-
security_opt: [no-new-privileges:true]
|
|
26
|
-
stop_grace_period: 30s
|
|
27
|
-
healthcheck:
|
|
28
|
-
test: ["CMD", "bun", "-e", "const r=await fetch('http://127.0.0.1:3000/readyz'); if(!r.ok) process.exit(1); await r.body?.cancel()"]
|
|
29
|
-
interval: 30s
|
|
30
|
-
timeout: 5s
|
|
31
|
-
retries: 3
|
|
32
|
-
start_period: 5s
|