@archlast/server 0.1.6 → 0.1.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/LICENSE +21 -21
- package/README.md +99 -99
- package/dist/auth/better-auth-instance.d.ts +7 -11
- package/dist/auth/better-auth-instance.d.ts.map +1 -1
- package/dist/controllers/crud-generator.controller.js +123 -123
- package/dist/controllers/introspection.controller.d.ts +24 -0
- package/dist/controllers/introspection.controller.d.ts.map +1 -1
- package/dist/controllers/introspection.controller.js +17 -0
- package/dist/controllers/introspection.controller.js.map +1 -1
- package/dist/controllers/system.controller.d.ts +32 -0
- package/dist/controllers/system.controller.d.ts.map +1 -1
- package/dist/controllers/system.controller.js +58 -0
- package/dist/controllers/system.controller.js.map +1 -1
- package/dist/deployment/handler.d.ts +20 -1
- package/dist/deployment/handler.d.ts.map +1 -1
- package/dist/deployment/handler.js +189 -16
- package/dist/deployment/handler.js.map +1 -1
- package/dist/docker/compose.js +1 -1
- package/dist/http/router.d.ts +1 -0
- package/dist/http/router.d.ts.map +1 -1
- package/dist/http/router.js +14 -3
- package/dist/http/router.js.map +1 -1
- package/dist/http/server.d.ts.map +1 -1
- package/dist/http/server.js +22 -19
- package/dist/http/server.js.map +1 -1
- package/dist/schema/input-types.d.ts +1 -1
- package/dist/schema/input-types.d.ts.map +1 -1
- package/dist/schema/input-types.js +4 -3
- package/dist/schema/input-types.js.map +1 -1
- package/dist/schema/modifiers.d.ts +2 -1
- package/dist/schema/modifiers.d.ts.map +1 -1
- package/dist/schema/modifiers.js +41 -5
- package/dist/schema/modifiers.js.map +1 -1
- package/dist/schema/type-helpers.d.ts +35 -0
- package/dist/schema/type-helpers.d.ts.map +1 -1
- package/dist/schema/type-helpers.js +32 -21
- package/dist/schema/type-helpers.js.map +1 -1
- package/dist/schema/validators.d.ts +1 -1
- package/dist/schema/validators.d.ts.map +1 -1
- package/dist/schema/validators.js +27 -16
- package/dist/schema/validators.js.map +1 -1
- package/dist/services/admin/backup/SqliteGenerator.js +8 -8
- package/dist/services/introspection.service.d.ts.map +1 -1
- package/dist/services/introspection.service.js +6 -3
- package/dist/services/introspection.service.js.map +1 -1
- package/dist/services/system.service.d.ts +11 -0
- package/dist/services/system.service.d.ts.map +1 -1
- package/dist/services/system.service.js +84 -0
- package/dist/services/system.service.js.map +1 -1
- package/dist/startup/bootstrap.d.ts.map +1 -1
- package/dist/startup/bootstrap.js +6 -1
- package/dist/startup/bootstrap.js.map +1 -1
- package/docker/README.md +10 -10
- package/package.json +210 -210
- package/templates/.env.example +55 -55
- package/templates/archlast.config.js +37 -36
- package/templates/docker-compose.dev.yml +8 -8
- package/templates/docker-compose.prod.yml +15 -15
- package/templates/docker-compose.yml +33 -33
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
version: "3.8"
|
|
2
|
-
|
|
3
|
-
services:
|
|
4
|
-
archlast:
|
|
5
|
-
environment:
|
|
6
|
-
- NODE_ENV=production
|
|
7
|
-
- IS_DEV=false
|
|
8
|
-
restart: unless-stopped
|
|
9
|
-
deploy:
|
|
10
|
-
resources:
|
|
11
|
-
limits:
|
|
12
|
-
cpus: "2.0"
|
|
13
|
-
memory: 1G
|
|
14
|
-
reservations:
|
|
15
|
-
memory: 256M
|
|
1
|
+
version: "3.8"
|
|
2
|
+
|
|
3
|
+
services:
|
|
4
|
+
archlast:
|
|
5
|
+
environment:
|
|
6
|
+
- NODE_ENV=production
|
|
7
|
+
- IS_DEV=false
|
|
8
|
+
restart: unless-stopped
|
|
9
|
+
deploy:
|
|
10
|
+
resources:
|
|
11
|
+
limits:
|
|
12
|
+
cpus: "2.0"
|
|
13
|
+
memory: 1G
|
|
14
|
+
reservations:
|
|
15
|
+
memory: 256M
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
version: "3.8"
|
|
2
|
-
|
|
3
|
-
services:
|
|
4
|
-
archlast:
|
|
5
|
-
image: algochad/archlast-server:${ARCHLAST_VERSION:-latest}
|
|
6
|
-
container_name: ${ARCHLAST_CONTAINER_NAME:-archlast-server}
|
|
7
|
-
restart: unless-stopped
|
|
8
|
-
ports:
|
|
9
|
-
- "${PORT:-4000}:${PORT:-4000}"
|
|
10
|
-
volumes:
|
|
11
|
-
- ${ARCHLAST_DATA_VOLUME:-archlast-data}:/data
|
|
12
|
-
- ./config:/config:ro
|
|
13
|
-
- ./.archlast-deploy:/app/server/.archlast-deploy:rw
|
|
14
|
-
environment:
|
|
15
|
-
- NODE_ENV=${NODE_ENV:-development}
|
|
16
|
-
- PORT=${PORT:-4000}
|
|
17
|
-
- ARCHLAST_PORT=${ARCHLAST_PORT:-4000}
|
|
18
|
-
- ARCHLAST_DB_ROOT=${ARCHLAST_DB_ROOT:-/data}
|
|
19
|
-
- STORAGE_ROOT=${STORAGE_ROOT:-/data/storage}
|
|
20
|
-
- ARCHLAST_ALLOWED_ORIGINS=${ARCHLAST_ALLOWED_ORIGINS:-http://localhost:3000,http://localhost:3001,http://localhost:4001}
|
|
21
|
-
- ARCHLAST_DASHBOARD_PORT=${ARCHLAST_DASHBOARD_PORT:-4001}
|
|
22
|
-
- ARCHLAST_STORE_PORT=${ARCHLAST_STORE_PORT:-7001}
|
|
23
|
-
- ARCHLAST_STORE_NO_TLS=${ARCHLAST_STORE_NO_TLS:-false}
|
|
24
|
-
healthcheck:
|
|
25
|
-
test: ["CMD", "curl", "-f", "http://localhost:${PORT:-4000}/health"]
|
|
26
|
-
interval: 30s
|
|
27
|
-
timeout: 10s
|
|
28
|
-
retries: 3
|
|
29
|
-
start_period: 60s
|
|
30
|
-
|
|
31
|
-
volumes:
|
|
32
|
-
archlast-data:
|
|
33
|
-
name: ${ARCHLAST_DATA_VOLUME:-archlast-data}
|
|
1
|
+
version: "3.8"
|
|
2
|
+
|
|
3
|
+
services:
|
|
4
|
+
archlast:
|
|
5
|
+
image: algochad/archlast-server:${ARCHLAST_VERSION:-latest}
|
|
6
|
+
container_name: ${ARCHLAST_CONTAINER_NAME:-archlast-server}
|
|
7
|
+
restart: unless-stopped
|
|
8
|
+
ports:
|
|
9
|
+
- "${PORT:-4000}:${PORT:-4000}"
|
|
10
|
+
volumes:
|
|
11
|
+
- ${ARCHLAST_DATA_VOLUME:-archlast-data}:/data
|
|
12
|
+
- ./config:/config:ro
|
|
13
|
+
- ./.archlast-deploy:/app/server/.archlast-deploy:rw
|
|
14
|
+
environment:
|
|
15
|
+
- NODE_ENV=${NODE_ENV:-development}
|
|
16
|
+
- PORT=${PORT:-4000}
|
|
17
|
+
- ARCHLAST_PORT=${ARCHLAST_PORT:-4000}
|
|
18
|
+
- ARCHLAST_DB_ROOT=${ARCHLAST_DB_ROOT:-/data}
|
|
19
|
+
- STORAGE_ROOT=${STORAGE_ROOT:-/data/storage}
|
|
20
|
+
- ARCHLAST_ALLOWED_ORIGINS=${ARCHLAST_ALLOWED_ORIGINS:-http://localhost:3000,http://localhost:3001,http://localhost:4001}
|
|
21
|
+
- ARCHLAST_DASHBOARD_PORT=${ARCHLAST_DASHBOARD_PORT:-4001}
|
|
22
|
+
- ARCHLAST_STORE_PORT=${ARCHLAST_STORE_PORT:-7001}
|
|
23
|
+
- ARCHLAST_STORE_NO_TLS=${ARCHLAST_STORE_NO_TLS:-false}
|
|
24
|
+
healthcheck:
|
|
25
|
+
test: ["CMD", "curl", "-f", "http://localhost:${PORT:-4000}/health"]
|
|
26
|
+
interval: 30s
|
|
27
|
+
timeout: 10s
|
|
28
|
+
retries: 3
|
|
29
|
+
start_period: 60s
|
|
30
|
+
|
|
31
|
+
volumes:
|
|
32
|
+
archlast-data:
|
|
33
|
+
name: ${ARCHLAST_DATA_VOLUME:-archlast-data}
|