Added by Christopher Caruk almost 8 years ago
Hello,
OpenProject looks pretty interesting. I am keen to see how it improves on Redmine.
I’ve been trying all morning to get openproject-ce up and running in a container.
After some experimentation I realised that I needed to copy the databse.docker.yml file to database.yml so I know that I have a configuration in place.
“docker-compose up” seems to do it’s thing but no database is created in the db container so I tried creating my own on a local database. Even after adjusting my.cnf to include:
sql_mode = “NO_AUTO_VALUE_ON_ZERO,STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”
and creating a database called openproject_development…
The containers are not creating any tables.
I’m sure that I’m connecting to my own instance of mysql because the mode errors went away after configuring my.cnf on my local machine.
Is there something special that I need to do to create and populate the initial database when running openproject with docker?
Thanks
Chris