Skip to content

Instantly share code, notes, and snippets.

Avatar
🌴
Terraforming

Sóstenes Apollo sostenesapollo

🌴
Terraforming
View GitHub Profile
View dokku.md

🌱🌎 Configure Dokku Environment

  • Followed these steps: CONHEÇA O DOKKU & APRENDA A CONFIGURÁ-LO PASSO-A-PASSO

  • Crie um droplet na digital ocean usando vps com imagem do dokku

  • Crie um app no dokku via ssh do seu server

  • Lembrando que pra configurar o ssl o seu domínio tem que estar apontado para os servers da digital ocean

View usefull-fish-aliases.sh
alias d=docker
alias g=git
alias dk=docker-compose
alias ds='docker stop (docker ps -a -q)'
alias dps='docker ps'
alias dp='docker ps'
alias c='clear'
alias ns='npm start'
alias nt='npm test'
alias nd='npm run dev'
View docker-commands.md

Delete all containers using the following command:

docker rm -f $(docker ps -a -q)

Delete all volumes using the following command

docker volume rm $(docker volume ls -q)