@serve.zone/dcrouter 11.3.0 → 11.4.0

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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/dcrouter',
6
- version: '11.3.0',
6
+ version: '11.4.0',
7
7
  description: 'A multifaceted routing service handling mail and SMS delivery functions.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxzQkFBc0I7SUFDNUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLDBFQUEwRTtDQUN4RixDQUFBIn0=
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/dcrouter',
6
- version: '11.3.0',
6
+ version: '11.4.0',
7
7
  description: 'A multifaceted routing service handling mail and SMS delivery functions.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHNfd2ViLzAwX2NvbW1pdGluZm9fZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixJQUFJLEVBQUUsc0JBQXNCO0lBQzVCLE9BQU8sRUFBRSxRQUFRO0lBQ2pCLFdBQVcsRUFBRSwwRUFBMEU7Q0FDeEYsQ0FBQSJ9
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@serve.zone/dcrouter",
3
3
  "private": false,
4
- "version": "11.3.0",
4
+ "version": "11.4.0",
5
5
  "description": "A multifaceted routing service handling mail and SMS delivery functions.",
6
6
  "type": "module",
7
7
  "exports": {
@@ -16,8 +16,8 @@
16
16
  "start": "(node --max_old_space_size=250 ./cli.js)",
17
17
  "startTs": "(node cli.ts.js)",
18
18
  "build": "(tsbuild tsfolders --allowimplicitany && npm run bundle)",
19
- "build:docker": "tsdocker build",
20
- "release:docker": "tsdocker push",
19
+ "build:docker": "tsdocker build --verbose",
20
+ "release:docker": "tsdocker push --verbose",
21
21
  "bundle": "(tsbundle)",
22
22
  "watch": "tswatch"
23
23
  },
package/readme.md CHANGED
@@ -30,6 +30,7 @@ For reporting bugs, issues, or security vulnerabilities, please visit [community
30
30
  - [API Reference](#api-reference)
31
31
  - [Sub-Modules](#sub-modules)
32
32
  - [Testing](#testing)
33
+ - [Docker / OCI Container Deployment](#docker--oci-container-deployment)
33
34
  - [License and Legal Information](#license-and-legal-information)
34
35
 
35
36
  ## Features
@@ -1278,6 +1279,49 @@ tstest test/test.opsserver-api.ts --verbose --timeout 60
1278
1279
  | `test.protected-endpoint.ts` | Admin auth, identity verification, public endpoints | 8 |
1279
1280
  | `test.storagemanager.ts` | Memory, filesystem, custom backends, concurrency | 8 |
1280
1281
 
1282
+ ## Docker / OCI Container Deployment
1283
+
1284
+ DcRouter ships with a `Dockerfile` and supports environment-variable-driven configuration for OCI container deployments. When `DCROUTER_MODE=OCI_CONTAINER` is set, DcRouter automatically reads configuration from environment variables (and optionally from a JSON config file).
1285
+
1286
+ ### Running with Docker
1287
+
1288
+ ```bash
1289
+ docker run -d \
1290
+ -e DCROUTER_MODE=OCI_CONTAINER \
1291
+ -e DCROUTER_TLS_EMAIL=admin@example.com \
1292
+ -e DCROUTER_PUBLIC_IP=203.0.113.1 \
1293
+ -e DCROUTER_DNS_NS_DOMAINS=ns1.example.com,ns2.example.com \
1294
+ -e DCROUTER_DNS_SCOPES=example.com \
1295
+ -p 80:80 -p 443:443 -p 25:25 -p 53:53/udp -p 3000:3000 \
1296
+ code.foss.global/serve.zone/dcrouter:latest
1297
+ ```
1298
+
1299
+ ### Environment Variables
1300
+
1301
+ | Variable | Description | Example |
1302
+ |----------|-------------|---------|
1303
+ | `DCROUTER_MODE` | Set to `OCI_CONTAINER` to enable container mode | `OCI_CONTAINER` |
1304
+ | `DCROUTER_CONFIG_PATH` | Path to a JSON config file (loaded as base, env vars override) | `/config/dcrouter.json` |
1305
+ | `DCROUTER_BASE_DIR` | Override base data directory | `/data/dcrouter` |
1306
+ | `DCROUTER_TLS_EMAIL` | ACME contact email | `admin@example.com` |
1307
+ | `DCROUTER_TLS_DOMAIN` | Primary TLS domain | `example.com` |
1308
+ | `DCROUTER_PUBLIC_IP` | Public IP for DNS records | `203.0.113.1` |
1309
+ | `DCROUTER_PROXY_IPS` | Comma-separated ingress proxy IPs | `198.51.100.1,198.51.100.2` |
1310
+ | `DCROUTER_DNS_NS_DOMAINS` | Comma-separated nameserver domains | `ns1.example.com,ns2.example.com` |
1311
+ | `DCROUTER_DNS_SCOPES` | Comma-separated authoritative domains | `example.com,other.com` |
1312
+ | `DCROUTER_EMAIL_HOSTNAME` | SMTP server hostname | `mail.example.com` |
1313
+ | `DCROUTER_EMAIL_PORTS` | Comma-separated email ports | `25,587,465` |
1314
+ | `DCROUTER_CACHE_ENABLED` | Enable/disable cache database | `true` |
1315
+
1316
+ ### Building the Image
1317
+
1318
+ ```bash
1319
+ pnpm run build:docker # Build the container image
1320
+ pnpm run release:docker # Push to registry
1321
+ ```
1322
+
1323
+ The Docker build supports multi-platform (`linux/amd64`, `linux/arm64`) via [tsdocker](https://code.foss.global/git.zone/tsdocker).
1324
+
1281
1325
  ## License and Legal Information
1282
1326
 
1283
1327
  This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [LICENSE](./LICENSE) file.
@@ -1292,7 +1336,7 @@ Use of these trademarks must comply with Task Venture Capital GmbH's Trademark G
1292
1336
 
1293
1337
  ### Company Information
1294
1338
 
1295
- Task Venture Capital GmbH
1339
+ Task Venture Capital GmbH
1296
1340
  Registered at District Court Bremen HRB 35230 HB, Germany
1297
1341
 
1298
1342
  For any legal inquiries or further information, please contact us via email at hello@task.vc.
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/dcrouter',
6
- version: '11.3.0',
6
+ version: '11.4.0',
7
7
  description: 'A multifaceted routing service handling mail and SMS delivery functions.'
8
8
  }
@@ -271,7 +271,7 @@ Use of these trademarks must comply with Task Venture Capital GmbH's Trademark G
271
271
 
272
272
  ### Company Information
273
273
 
274
- Task Venture Capital GmbH
274
+ Task Venture Capital GmbH
275
275
  Registered at District Court Bremen HRB 35230 HB, Germany
276
276
 
277
277
  For any legal inquiries or further information, please contact us via email at hello@task.vc.
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/dcrouter',
6
- version: '11.3.0',
6
+ version: '11.4.0',
7
7
  description: 'A multifaceted routing service handling mail and SMS delivery functions.'
8
8
  }
package/ts_web/readme.md CHANGED
@@ -249,7 +249,7 @@ Use of these trademarks must comply with Task Venture Capital GmbH's Trademark G
249
249
 
250
250
  ### Company Information
251
251
 
252
- Task Venture Capital GmbH
252
+ Task Venture Capital GmbH
253
253
  Registered at District Court Bremen HRB 35230 HB, Germany
254
254
 
255
255
  For any legal inquiries or further information, please contact us via email at hello@task.vc.