cynergie-portail (not update to date please use this repo cynegie)
- Cynergie website
- Cynergie portail
- Cynergie data api
- Change laravel environment file name and add the production variables
mv .env.example .env
- Build the laravel website image (takes time)
docker-compose build
- run the containers by default the website is binded to
localhost:8000
docker-compose up -d
- to run bash inside a docker container
docker exec -it cynergieportail bash
- to run a command in the container ; laravel exemple:
docker-compose exec cynergieportail php artisan list
- to run a migration for database ; laravel example:
docker-compose run laravel php artisan migrate