Skip to content

Grav problems #1

Description

@markusritschel

Hi,

I wanted to try your grav dockerfile. Grav is actually running, but I get some issues, though:

  1. Access via my-site.dkr doesn't work. Instead I can add a port mapping (e.g. "8888:80") in the docker-compose.yml, then I can access the site via http://localhost:8888
  2. If I access the site then via http://localhost:8888, then I get a "Grav problems" page, saying "/var/www/html/user/data exists but is not writeable"

When I list all the content in my docker /var/www/html, then the permissions for all directories are set for www-data:www-data, except my user folder (the external volume) which has written 1000:1000.
I already tried changing the permissions for the user directory to www-data using "docker-compose exec web chown -R www-data:www-data /var/www/html/user/" but this gives me then an error in the browser that the connection is not safe.

Can you help me with this?

Best regards.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions