Month: August 2018

  • GitLab CI + CD

    Find Docker image for the build Dependencies: node/npm java8 gradle sshpass For build you can use for example the following image: For deployment you need sshpass, so you can take the following image: Runner see GitLab Runner Doc CI script see CI yaml docu Secret variables to use in CI script: GitLab -> Settings -> CI…

  • shell/bash

    Read a template file and replace placeholder script-template.txt #!/bin/bash echo “–TIMESTAMP–” #!/bin/bash # Get variables timestamp=`date` # Replace placeholder content=`cat ./script-template.txt` content=`echo “${content/–TIMESTAMP–/$timestamp}”` # Generate a script echo “$content” > chmod +x  

  • netcup + froxlor + mail server (dovecot/postfix) + tls/ssl (Let’s Encrypt)

    You can use only one specific domain and ssl certificate in dovecot and postfix. So you have to create this specific domain and activate Let’s Encrypt for that, so that you can use those certificates for SSL/TLS. All the users with different domains and email-domains have to use this one specific domain to connect to…