-
Notifications
You must be signed in to change notification settings - Fork 3
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
Clone Docker #1
Comments
I'm not completely sure what you want to do, but if I understand correctly you would like to test several drupal installations on the same general server settings? I think I would just copy the project folder to 'project2' and change line 6 in the docker-compose file to reflect this change. when you spin up the system with docker-compose up the new drupal project will be built. |
Would you mind setting up an example? What you are saying is right I would like to have more projects running on the same general server. I've done the changes in docker-compose file but when I do docker-compose up it's still running the first project and not adding the image for the second project. Could you post the changes here or do a git patch? Thanks |
Take a look at the branch 'multiple' that contains my idea. It works somewhat, but they are alle sharing the same database, and that messes with the drupal cache. I had to duplicate the environment config file, soft linking doesn't work, and the environment file has to be within the project folder to be included in the image (to have the values copied to settings.php). That is definitely not optimal. That's the best I can do for now I'm afraid, I'm no expert either :P |
Seems that they share the same drupal base code and the same database. I will try to spend some time to see if I can work something. Also did manage to add drupal console to the project and works great. Install Drupal ConsoleRUN curl https://drupalconsole.com/installer -L -o drupal.phar && You still need to install with composer the drupal console in the HTML folder but the drupal launcher works. I've tried logging in the PHPMyAdmin but can't seem to login with root, only with drupal user. Also, i wanted to thank you for your work. I've tried the wodby docker for drupal, it works fine, it's just so slow on my computer. Compared to this docker I would say that wodby is 3 times slower. I am running on a mini mac on IOS High Sierra. |
Hi,
I'm new to Docker, tried your config and works very good.
I would like to clone the containers like from dev1 to dev2 so I can try something on dev2 but would like to keep the settings from dev1, I see that you can do a fresh start, but I only want to reach dev1 stable and then clone dev1 to dev2 dev3 dev4 and try different things. Since the script is making more than 1 container, do you know an easy way to group the containers and clone them?
The text was updated successfully, but these errors were encountered: