Skip to content

Docker compose volumes not working. #245

@steveiliop56

Description

@steveiliop56

Hello I am trying to install drupal with a docker-compose file but it says it cant create the files and I get forbidden every time I try to access it.

version: "3.7"
services:
  drupal:
    image: drupal:php8.2-apache
    restart: unless-stopped
    container_name: drupal
    ports:
      - 80:80
    volumes:
      - /home/steve/drupal/data:/opt/drupal

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