Insert Mysql Docker container code and instructions #127
Replies: 8 comments 6 replies
-
I think we should try not to complicate the project. Especially for those who do not need to use Docker or for less experienced users. |
Beta Was this translation helpful? Give feedback.
-
As I understood from #128, to support Docker it is enough to change |
Beta Was this translation helpful? Give feedback.
-
Thank you for that, I will make a new pull for MySql and Docker. |
Beta Was this translation helpful? Give feedback.
-
As I see in #133, after DotEnv implementation, we can no longer claim that Django-CRM installs like a normal Django project. But we have to stick to it. |
Beta Was this translation helpful? Give feedback.
-
So you mean to split DotEnv and Docker. This is clear. |
Beta Was this translation helpful? Give feedback.
-
The only change necessary to manage the Docker MySQL image is to set HOST = 127.0.0.1 in webcrm/settings.py. I have the pull request, re-added docker folder with dedicated files and reorganized the installation_and_configuration_guide. Can we discuss the implementation with the community? DotEnv is another topic that we can discuss in a dedicated thread. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your efforts. |
Beta Was this translation helpful? Give feedback.
-
If the comunity will accept the implementation of container for MySQL, I will implement this: |
Beta Was this translation helpful? Give feedback.
-
Can we implement dotenv library and create .env file with all variables? This will be useful to have all variables in a single place, outside the .py files...
Another thing is to use 'HOST': '127.0.0.1', instead of 'HOST': 'localhost'. With this change we can create container of mysql and we don't need to install mysql engine on of workstation.
Beta Was this translation helpful? Give feedback.
All reactions