Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main configurations to deploy local projects using Mac OSX #400

Open
davidferlay opened this issue Nov 12, 2021 · 2 comments
Open

Main configurations to deploy local projects using Mac OSX #400

davidferlay opened this issue Nov 12, 2021 · 2 comments

Comments

@davidferlay
Copy link
Contributor

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
@davidferlay davidferlay changed the title Main configurations to deploy local projects using MacOS Main configurations to deploy local projects using Mac OSX May 3, 2022
@andypost
Copy link
Contributor

andypost commented Dec 4, 2023

Makes sense to add link to https://docs.orbstack.dev/features to use instead of DockerDesctop for Mac as nowadays

@andypost
Copy link
Contributor

One more related #451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants