This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
| #!/bin/bash | |
| # Verifique se curl ou wget está disponível e ajuste o comando de download | |
| DOWNLOAD_CMD="" | |
| if command -v curl &>/dev/null; then | |
| DOWNLOAD_CMD="curl -L" # Adiciona opção -L para seguir redirecionamentos | |
| elif command -v wget &>/dev/null; then | |
| DOWNLOAD_CMD="wget --quiet --continue --show-progress" | |
| else | |
| echo "Este script requer curl ou wget. Instale um deles e tente novamente." |
| # **Configurando Duas Contas GitLab no Mesmo Sistema Linux** | |
| ## **1. Introdução** | |
| Este tutorial auxilia na configuração de duas contas GitLab — uma pessoal e outra de trabalho — em uma única máquina Linux, utilizando chaves SSH e configurações de usuário distintas. | |
| ## **2. Geração e Configuração de Chaves SSH** |
| """ | |
| program.py | |
| This script will keep adding logs to our logger file. | |
| """ | |
| import logging | |
| import time | |
| import os | |
| # create logger with log app | |
| real_path = os.path.realpath(__file__) |
| #!/bin/bash | |
| # Institut für Wetter- und Klimakommunikation GmbH / Qmet | |
| # O. Maywald <[email protected]> | |
| # This should install CDO with grib2, netcdf and HDF5 support. Note that the binaries are in /opt/cdo-install/bin. | |
| # For further information look: | |
| # http://www.studytrails.com/blog/install-climate-data-operator-cdo-with-netcdf-grib2-and-hdf5-support/ | |
| # docker-command |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user