This the skeleton using:
- ReactJS
- Material UI Next
- Firebase
mysql:
container_name: "mysql"
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: mysql
MYSQL_USER: mysql
MYSQL_PASSWORD: mysql
ports:
- "3306:3306"
volumes:
- "~/Project:/Project"
gcp:
container_name: "gcp"
image: ubuntu:trusty
ports:
- "8080:8080"
- "8000:8000"
volumes:
- "~/Project:/Project"
links:
- mysql:mysql
tty: true
docker-compose up
docker-compose start
Enter bash docker
docker exec -it mysql bash
Enter bash docker
docker exec -it gcp bash
Update and upgrade
apt update && apt upgrade -y
Install GCP
cd [GCP_FOLDER]
./install.sh
Enter bash docker
docker exec -it ubuntu bash
Update and upgrade
apt update && apt upgrade -y
Install NPM
apt install -y curl && curl -sL https://deb.nodesource.com/setup_9.x | bash - && apt install -y nodejs
Install yarn
npm install -g yarn