Skip to content

Conversation

@axellbrendow
Copy link

@axellbrendow axellbrendow commented Jul 22, 2020

I tried to download this repository and run sudo docker-compose up, but I've faced some errors like:

erro-micro-videos-app-permission
erro-micro-videos-app- env-denied
erro-nginx-micro-videos

You can emulate these errors by running:

# (warning, containers and volumes deleting)

sudo docker rm $(sudo docker ps -aq) -f  # delete all containers
sudo docker volume rm $(sudo docker volume ls -q) -f  # delete all volumes

git clone https://github.com/codeedu/laravel-microservice-quickstart
cd laravel-microservice-quickstart

sudo docker-compose up --build  # it's important to rebuild to start from 0

If you wanna test my solution:

# (warning, containers and volumes deleting)

sudo docker rm $(sudo docker ps -aq) -f  # delete all containers
sudo docker volume rm $(sudo docker volume ls -q) -f  # delete all volumes

git clone https://github.com/axell-brendow/laravel-microservice-quickstart
cd laravel-microservice-quickstart

sudo docker-compose up --build  # it's important to rebuild to start from 0

@axellbrendow axellbrendow changed the title Fix logs permission and make nginx wait for php-fpm Fix logs permission and other problems Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants