Socioboard-5.0 icon indicating copy to clipboard operation
Socioboard-5.0 copied to clipboard

Laravel docker container

Open EngBadr opened this issue 3 years ago • 1 comments

Hello, I tried to install Laravel container and everything was fine used version : bitnami/laravel Socioboard version : Socioboard-5.0 deployment approach :

  1. download "docker-compose.yml"
  2. copy "docker-compose.yml" under Socioboard-5.0\socioboard-web-php
  3. docker-compose up
  4. inside the container I access the bash in my \socioboard-web-php container
  5. docker -it socioboard-web-php_container bash
  6. Inside application container I renamed env.example file to .env
  7. Run php artisan key:generate
  8. Access http://localhost:3000 every thing was fine
  9. 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

EngBadr avatar Jul 13 '21 21:07 EngBadr

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.

sureshbabu1995 avatar Jul 19 '21 07:07 sureshbabu1995