This Docker-compose.yml join multiple apps in the same Server:
- Proxy
- Mariadb
- php
- phpmyadmin
- wordpress x2
- Laravel
- Vuejs ( Producction /dist folder)
- Html files
mkdir Server
cd Server
git clone https://github.com/p3drojimenez/docker-multiple-apps.git .
docker-compose up -d
You must to create your app in your folder, usint vue-cli (https://cli.vuejs.org/)
cd Server
cd vue
vue create myapp
cd myapp & npm run serve
volumes:
- ./vue/myapp/dist:/usr/share/nginx/html/
npm run build
[] Fix multi Laravel apps [] Add Reactjs App