Our database group has created the database with (charset=utf8mb4&use_unicode=1) and a user
For my docker-compose.yaml I will only have two container sections
mailman-core mailman-web
which should have these database variables set under each:
-DATABASE_URL=mysql+pymysql://[database_user]:[database_password]@[database.server.ip]:[databseport]/[database_name]
- DATABASE_TYPE=mysql
- DATABASE_CLASS=mailman.database.mysql.MySQLDatabase
Are these all correct? in looking at documentation should it be:
DATABASE_URL=mysql+pymysql://[database_user]:[database_password]@[database.server.ip]:[databseport]/[database_name]?charset=utf8mb4&use_unicode=1
Or/and should I also use?
DATABASE_URL=mysql+pymysql://....
or
DATABASE_URL=mysql://...
or
DATABASE_URL=pymysql://....
Do I have to install pymysql? or is it installed in the dock images?
Do I have to run any other commands on the database first? I assume mailman does everything it needs for the database at first launch?