Kirby with Docker permission problem


I had a site running locally using Docker, and now, some months later, I get a ’ Forbidden - You don’t have permission to access / on this server’. The only change I did was updating Docker itself.

The relevant files are:

docker-compose.yml ->

    version: '2'

        build: ./docker/webserver
        image: addciel
          - "80:80"
          - "443:443"
          - ./public:/var/www/html

Dockerfile ->

FROM php:7.2-apache
RUN apt-get update -y && apt-get install -y \
  libcurl4-openssl-dev \
  libfreetype6-dev \
  libjpeg62-turbo-dev \
  libpng-dev \

&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd \
&& docker-php-ext-install mbstring

RUN a2enmod rewrite
RUN service apache2 restart

Can you spot any mistakes?

I reset Docker via its settings panel and the problem is solved. Nothing to do with the files above.