@ossy/deployment-tools 0.0.12 → 0.0.14

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.
File without changes
package/dist/index.js CHANGED
@@ -28468,7 +28468,7 @@ class CaddyClient {
28468
28468
  challenges:{
28469
28469
  dns:{
28470
28470
  provider:{
28471
- 'max_retries':10,
28471
+ 'max_retries': 10,
28472
28472
  name: 'route53'
28473
28473
  }
28474
28474
  }
@@ -28479,7 +28479,7 @@ class CaddyClient {
28479
28479
  challenges:{
28480
28480
  dns:{
28481
28481
  provider:{
28482
- 'max_retries':10,
28482
+ 'max_retries': 10,
28483
28483
  name: 'route53'
28484
28484
  }
28485
28485
  }
@@ -28865,8 +28865,10 @@ Environment=DEPLOYMENT_TOOLS_DOMAIN=${domain}
28865
28865
  Environment=DEPLOYMENT_TOOLS_ENVIRONMENT_NAME=${environmentName}
28866
28866
  Environment=DEPLOYMENT_TOOLS_CI_SUB_DOMAIN=${ciSubDomain}
28867
28867
  Environment=DEPLOYMENT_TOOLS_PORT=${port}
28868
- User=root
28869
- ExecStart=npx @ossy/deployment-tools start-container-manager
28868
+ User=caddy
28869
+ AmbientCapabilities=CAP_NET_BIND_SERVICE
28870
+ CapabilityBoundingSet=CAP_NET_BIND_SERVICE
28871
+ ExecStart=sudo npx @ossy/deployment-tools start-container-manager
28870
28872
  Restart=on-failure
28871
28873
 
28872
28874
  [Install]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ossy/deployment-tools",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "Collection of scripts and tools to aid deployment of containers and static files",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -66,7 +66,7 @@ class CaddyClient {
66
66
  challenges:{
67
67
  dns:{
68
68
  provider:{
69
- 'max_retries':10,
69
+ 'max_retries': 10,
70
70
  name: 'route53'
71
71
  }
72
72
  }
@@ -77,7 +77,7 @@ class CaddyClient {
77
77
  challenges:{
78
78
  dns:{
79
79
  provider:{
80
- 'max_retries':10,
80
+ 'max_retries': 10,
81
81
  name: 'route53'
82
82
  }
83
83
  }
package/src/index.js CHANGED
@@ -31,8 +31,10 @@ Environment=DEPLOYMENT_TOOLS_DOMAIN=${config.domain}
31
31
  Environment=DEPLOYMENT_TOOLS_ENVIRONMENT_NAME=${config.environmentName}
32
32
  Environment=DEPLOYMENT_TOOLS_CI_SUB_DOMAIN=${config.ciSubDomain}
33
33
  Environment=DEPLOYMENT_TOOLS_PORT=${config.port}
34
- User=root
35
- ExecStart=npx @ossy/deployment-tools start-container-manager
34
+ User=caddy
35
+ AmbientCapabilities=CAP_NET_BIND_SERVICE
36
+ CapabilityBoundingSet=CAP_NET_BIND_SERVICE
37
+ ExecStart=sudo npx @ossy/deployment-tools start-container-manager
36
38
  Restart=on-failure
37
39
 
38
40
  [Install]