🚀 Improve deployments
        Tim Izzo tim@octree.ch
        
        
        
        
        
        Fri, 09 Sep 2022 15:18:29 +0200
        
          3 files changed,
          4 insertions(+),
          4 deletions(-)
          
          
        
            
            
            
            M
            
          
          backend/.env.example
          
            → 
            backend/.env.example
          
          
            
          @@ -1,5 +1,5 @@
STRAPI_URL=http://localhost:8080 -HOST=my-strapi.org +HOST=0.0.0.0 APP_KEYS="toBeModified1,toBeModified2" API_TOKEN_SALT=tobemodified ADMIN_JWT_SECRET=tobemodified
            
            
            
            M
            
          
          docker-entrypoint.sh
          
            → 
            docker-entrypoint.sh
          
          
            
          @@ -1,7 +1,7 @@
#!/bin/sh # Start NGINX in daemon mode -echo "pid /run/nginx.pid;" >> /etc/nginx/nginx.conf +grep -q -F "pid " /etc/nginx/nginx.conf || echo "pid /run/nginx.pid;" >> /etc/nginx/nginx.conf nginx # Start NodeJS apps with PM2