Socioboard-5.0
Socioboard-5.0 copied to clipboard
Laravel docker container
Hello, I tried to install Laravel container and everything was fine used version : bitnami/laravel Socioboard version : Socioboard-5.0 deployment approach :
- download "docker-compose.yml"
- copy "docker-compose.yml" under Socioboard-5.0\socioboard-web-php
-
docker-compose up
- inside the container I access the bash in my \socioboard-web-php container
-
docker -it socioboard-web-php_container bash
- Inside application container I renamed env.example file to .env
- Run
php artisan key:generate
- Access http://localhost:3000 every thing was fine
- Now what ???
Question 1: Where is my management dashboard and how I manage the system
Question 2: I still do not touch these environment vars.. In fact, the deployment approach for node and other APIs was superhard. I hope this explained easier API_URL= API_URL_FEEDS= API_URL_PUBLISH= API_URL_UPDATE=
can these variables managed through docker-composer.yml file like MYSQL ENV values ..........
According to bitnami/laravel image description the docker-composer.yml will override the default bootstrap and laravel installation by using the source directory of docker-composer.yml I believe containerization of this solution will solve many deployment issues. I hope there is a plan to dockize it.
Thank you
Hi @EngBadr
I'll be adding the more detailed setup ( ReadMe ) soon for the latest updated code, for now
you need to run the node services (API part)
APP_URL =http://localhost:1000/ - node user will run in 1000 port API_URL_FEEDS=http://localhost:1001/ API_URL_PUBLISH=http://localhost:1002/ API_URL_UPDATE=http://localhost:1003/ etc, if you change ports then change values over here as well.