Skip to content

Instantly share code, notes, and snippets.

View ericof's full-sized avatar
🌎

Érico Andrei ericof

🌎
View GitHub Profile
@ericof
ericof / docker-compose.yml
Created June 27, 2023 21:20
PortalBrasil.edu
version: "3"
services:
webserver:
image: traefik:v2.10
ports:
- 80:80
labels:
- traefik.enable=true
@ericof
ericof / WSL.sh
Last active May 20, 2024 20:04
Install Ubuntu dependencies
# Instala pacotes base
sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git docker.io
# Instala pyenv (Gestor de instalacoes Python)
curl https://pyenv.run | bash
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bashrc
source ~/.bashrc