Skip to content

Main configurations to deploy local projects using Mac OSX #400

Open
@davidferlay

Description

@davidferlay

Main Configurations are on the following files: .env and docker-compose.override.yml

  1. On .env please see the following changes:
MAIN_DOMAIN_NAME=durable.localhost          // Update domain name instead of 'durable'
#DB_URL=sqlite:///dev/shm/d8.sqlite         // Remove or comment this line
#DB_URL=mysql://d8:d8@mysql/d8              // Remove or comment this line in case you have it
DB_URL=sqlite:./../.cache/d8.sqlite         // Add this line
#DB_DATA_DIR=/dev/shm                       // Remove or comment this line
DB_DATA_DIR=../.cache                       // Add this line
CUID=1000                                   // Add this line
CGID=1000                                   // Add this line
  1. On /docker/docker-compose.override.yml please see the following changes:
"./90-mail.ini:/etc/php7/conf.d/90-mail.ini:z"          // Remove this line
"./90-mail.ini:/etc/php7/conf.d/90-mail.ini:cached"     // And add this one instead

Uncomment ports:

# Uncomment for MacOS.
    ports:
      - "8090:80"

In case you get DNS error, please add:

  • dns: 8.8.8.8

Ready to run:

  • make all

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