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

(Question) Multiple Moodle versions - multiple start scripts #95

Closed
Nicosoft opened this issue Jan 22, 2019 · 1 comment
Closed

(Question) Multiple Moodle versions - multiple start scripts #95

Nicosoft opened this issue Jan 22, 2019 · 1 comment

Comments

@Nicosoft
Copy link

Hi there,

I have been using this repo for my Moodle 3.4 development.
Now I have to work on Moodle 3.4 and Moodle 3.5.

My Goal

Be able to start Moodle3.4 or Moodle3.5 environment.

My solution

To do so I created new scripts:

I forked this repo to share these files (https://github.com/Nicosoft/moodle-docker)

Result

I run the following command:
./bin/moodle35-docker-compose up -d
Then go to http://localhost:8000/
=> ERROR DATABASE
screen shot 2019-01-22 at 11 05 03 am

Question

(1) Am I on the right direction? Is there a better way to achieve my goal?
(2) It seems to me that the SQL Server is still running the previous database (moodle) but haven't created the new database (moodle35). How to make it created the new database moodle35?

Thanks for your help.

@Nicosoft
Copy link
Author

Nicosoft commented Jan 22, 2019

Thanks.
I solved my issue with the help of #55 .

In ./bin/moodle35-docker-compose, I added the following line:

export COMPOSE_PROJECT_NAME="moodle35"
export MOODLE_DOCKER_WEB_PORT=8081

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

1 participant