@bitcall/webrtc-sip-gateway 0.2.1 → 0.2.3

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 CHANGED
@@ -5,7 +5,7 @@ Linux-only CLI to install and operate the Bitcall WebRTC-to-SIP gateway.
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- sudo npm i -g @bitcall/webrtc-sip-gateway@0.2.1
8
+ sudo npm i -g @bitcall/webrtc-sip-gateway@0.2.3
9
9
  ```
10
10
 
11
11
  ## Main workflow
package/lib/constants.js CHANGED
@@ -14,7 +14,7 @@ module.exports = {
14
14
  SSL_DIR: path.join(GATEWAY_DIR, "ssl"),
15
15
  ENV_PATH: path.join(GATEWAY_DIR, ".env"),
16
16
  COMPOSE_PATH: path.join(GATEWAY_DIR, "docker-compose.yml"),
17
- DEFAULT_GATEWAY_IMAGE: "ghcr.io/bitcallio/webrtc-sip-gateway:0.2.1",
17
+ DEFAULT_GATEWAY_IMAGE: "ghcr.io/bitcallio/webrtc-sip-gateway:0.2.3",
18
18
  DEFAULT_PROVIDER_HOST: "sip.example.com",
19
19
  DEFAULT_WEBPHONE_ORIGIN: "*",
20
20
  RENEW_HOOK_PATH: "/etc/letsencrypt/renewal-hooks/deploy/bitcall-gateway.sh",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitcall/webrtc-sip-gateway",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Linux CLI for bootstrapping and managing the Bitcall WebRTC-to-SIP Gateway",
5
5
  "repository": {
6
6
  "type": "git",
package/src/index.js CHANGED
@@ -34,7 +34,7 @@ const {
34
34
  } = require("../lib/system");
35
35
  const { readTemplate, renderTemplate } = require("../lib/template");
36
36
 
37
- const PACKAGE_VERSION = "0.2.1";
37
+ const PACKAGE_VERSION = "0.2.3";
38
38
 
39
39
  function detectComposeCommand() {
40
40
  if (run("docker", ["compose", "version"], { check: false }).status === 0) {
@@ -5,8 +5,8 @@ services:
5
5
  network_mode: host
6
6
  read_only: true
7
7
  tmpfs:
8
- - /tmp
9
- - /run
8
+ - /tmp:rw,nosuid,nodev
9
+ - /run:rw,exec,nosuid,nodev
10
10
  security_opt:
11
11
  - no-new-privileges:true
12
12
  env_file: .env