@ossy/deployment-tools 0.0.13 → 0.0.15

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/dist/index.js CHANGED
@@ -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=sudo npx @ossy/deployment-tools start-container-manager
28868
+ User=caddy
28869
+ AmbientCapabilities=CAP_NET_BIND_SERVICE
28870
+ CapabilityBoundingSet=CAP_NET_BIND_SERVICE
28871
+ ExecStart=/usr/bin/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.13",
3
+ "version": "0.0.15",
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",
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=sudo npx @ossy/deployment-tools start-container-manager
34
+ User=caddy
35
+ AmbientCapabilities=CAP_NET_BIND_SERVICE
36
+ CapabilityBoundingSet=CAP_NET_BIND_SERVICE
37
+ ExecStart=/usr/bin/npx @ossy/deployment-tools start-container-manager
36
38
  Restart=on-failure
37
39
 
38
40
  [Install]