Skip to content

Instantly share code, notes, and snippets.

View eduardomp's full-sized avatar
🤖
bip bop

Eduardo Medeiros Pereira eduardomp

🤖
bip bop
View GitHub Profile
@eduardomp
eduardomp / Vagrantfile
Last active September 13, 2017 22:17
Vagrantfile used to create a virtual machine whith docker, nodejs, phantonjs and git... Ubuntu 14.04 LTS
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.box_check_update = false
#exposing port 8080 to access from the host machine
config.vm.network "forwarded_port", guest: 8080, host: 8080 ,auto_correct: true
#development folder shared between host machine and this virtual machine
config.vm.synced_folder "./workspace", "/home/vagrant/workspace"
@eduardomp
eduardomp / Vagrantfile
Last active September 26, 2017 21:27
Vagrantfile used for configuring development environment with nodejs and openalpr for experiment
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.box_check_update = false
#exposing port 8080 to access from the host machine
config.vm.network "forwarded_port", guest: 8080, host: 8080 ,auto_correct: true
#development folder shared between host machine and this virtual machine
config.vm.synced_folder "./workspace", "/home/vagrant/workspace"
@eduardomp
eduardomp / Vagrantfile
Created September 20, 2017 23:37
Vagrantfile to create a VM with jdk8, scala, sbt, eclipse-scala and GUI (xfce4)
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.box_check_update = false
config.vm.provision "shell", inline: <<-SHELL
#ENVIRONMENT
sudo echo "LANG=en_US.UTF-8" >> /etc/environment
sudo echo "LANGUAGE=en_US.UTF-8" >> /etc/environment
@eduardomp
eduardomp / Vagrantfile
Created December 22, 2017 14:14
Vue + Flask API development environment
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.synced_folder "workspace/", "/home/ubuntu/workspace"
config.vm.synced_folder "arquivos/", "/home/ubuntu/arquivos"
config.vm.provision "shell", inline: <<-SHELL
echo "atualizando repositorios..."
@eduardomp
eduardomp / Vagrantfile
Last active January 22, 2018 04:17
Minimal tooling and configuration of JHipster environment
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.box_check_update = false
config.vm.synced_folder "workspace/", "/home/vagrant/workspace"
config.vm.network :forwarded_port, host: 8080, guest: 8080
config.vm.network :forwarded_port, host: 8081, guest: 8081
config.vm.network :forwarded_port, host: 9000, guest: 9000
config.ssh.insert_key = true
@eduardomp
eduardomp / Vagrantfile
Last active January 23, 2020 11:00
Vagrantfile for Tensorflow and Anaconda
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.box_check_update = false
config.vm.synced_folder "workspace/", "/home/vagrant/workspace"
config.vm.network "public_network"
config.vm.network :forwarded_port, host: 8080, guest: 8080
config.vm.network :forwarded_port, host: 8888, guest: 8888
config.vm.network :forwarded_port, host: 6006, guest: 6006
@eduardomp
eduardomp / Dockerfile
Created December 20, 2018 17:40
Dockerfile - Postgres with custom postgresql.conf
FROM postgres:9.5
LABEL maintainer="Eduardo Medeiros Pereira - edu.medeirospereira@gmail.com"
ENTRYPOINT ["docker-entrypoint.sh"]
COPY postgresql.conf /etc/postgresql/postgresql.conf
EXPOSE 5432
@eduardomp
eduardomp / Dockerfile
Last active January 3, 2019 12:45
Dockerfile for play 2.6.X applications
FROM ubuntu:18.04
LABEL maintainer="Eduardo Medeiros Pereira - edu.medeirospereira@gmail.com"
LABEL description="Dockerfile for Play Framework 2.6.X applications"
WORKDIR /usr/src/app
COPY . .
ADD https://piccolo.link/sbt-1.2.8.zip /usr/src/app
@eduardomp
eduardomp / Vagrantfile
Last active July 29, 2020 18:58
Vagrantfile - Ubuntu 16.04 LTS with Java 8 (openjdk) , Maven and Nodejs 10.x LTS (Battle Tested)
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.synced_folder "workspace/", "/home/vagrant/workspace"
config.vm.provision "shell", inline: <<-SHELL
#ENVIRONMENT
@eduardomp
eduardomp / Dockerfile
Created September 28, 2020 14:42
Dockerfile for Python 3 projects with Poetry
FROM python:3.6.6-alpine3.7
LABEL maintainer="Eduardo Medeiros Pereira - edu.medeirospereira@gmail.com"
LABEL description="Dockerfile for Python 3 applications with Poetry"
ENV PYTHONFAULTHANDLER=1 \
PYTHONUNBUFFERED=1 \
PYTHONHASHSEED=random \
PIP_NO_CACHE_DIR=off \
PIP_DISABLE_PIP_VERSION_CHECK=on \