Skip to content
This repository was archived by the owner on Nov 8, 2018. It is now read-only.
This repository was archived by the owner on Nov 8, 2018. It is now read-only.

Sylius project data in "host" #24

@nietzscheson

Description

@nietzscheson

Same that #18

I'm adding docker-compose.local.yml to have the project data outside the container like this:

version: '2.1'

services:
   sylius:
     volumes:
       - ./sylius:/var/www/sylius

But, this does not work. I throw the error: File not found.

I'm only want:

###### docker-compose.yml

version: '3.1'

services:

  wordpress:
    image: wordpress
    restart: always
    ports:
      - 8080:80
    environment:
      WORDPRESS_DB_PASSWORD: example

  mysql:
    image: mysql:5.7
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: example

###### docker-compose.local.yml

version: '3.1'

services:

  wordpress:
    volumes:
      - ./app:/var/www/html

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