@peerbit/server 5.4.15 → 5.4.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerbit/server",
3
- "version": "5.4.15",
3
+ "version": "5.4.16",
4
4
  "author": "dao.xyz",
5
5
  "repository": {
6
6
  "type": "git",
package/src/domain.ts CHANGED
@@ -152,12 +152,12 @@ export const startCertbot = async (
152
152
 
153
153
  // copy ui from node_modules to home for permission reasons (volume will not work otherwise)
154
154
  const certbotDockerCommand = `cp -r ${uiPath} $(pwd)/ui && docker pull jonasal/nginx-certbot:latest && docker run -d --net=host \
155
- --env CERTBOT_EMAIL=${email} ${isTest ? "--env STAGING=1" : ""}\
155
+ --restart unless-stopped \
156
+ --env CERTBOT_EMAIL=${email} ${isTest ? "--env STAGING=1" : ""}\
156
157
  -v $(pwd)/nginx_secrets:/etc/letsencrypt \
157
158
  -v ${nginxConfigPath}:/etc/nginx/user_conf.d:ro \
158
159
  -v $(pwd)/ui:/usr/share/nginx/html:ro \
159
- --name ${dockerProcessName} jonasal/nginx-certbot:latest \
160
- --restart unless-stopped`;
160
+ --name ${dockerProcessName} jonasal/nginx-certbot:latest`;
161
161
 
162
162
  console.log("Starting Certbot");
163
163
  // try two times with some delay, because sometimes the docker daemon is not available immidatel