R
Railway11mo ago
jyxgood

I want to add some parameter on container start up

I want to add some parameter on Mysql container start up, something just written in the docker compose file .
12 Replies
Percy
Percy11mo ago
Project ID: N/A
jyxgood
jyxgood11mo ago
command: - --default-authentication-plugin=mysql_native_password - --character-set-server=utf8mb4 - --collation-server=utf8mb4_general_ci - --explicit_defaults_for_timestamp=true how to do that in railway?
Brody
Brody11mo ago
railway doesnt support docker compose, are these just cli flags to mysqld?
jyxgood
jyxgood11mo ago
I'm not sure, but I think these are nessary for Mysql to start up
Brody
Brody11mo ago
are you using railways mysql database?
jyxgood
jyxgood11mo ago
no, I use the image from dockerhub
Brody
Brody11mo ago
may i ask whats wrong with the mysql database railway offers?
jyxgood
jyxgood11mo ago
another question, railway can't indicate the target version of image?
Brody
Brody11mo ago
yes you can specify a version tag when adding an image to a service
jyxgood
jyxgood11mo ago
up to now, I don't see mistakes. I'm doing as a startup document
Brody
Brody11mo ago
can you try to deploy railways mysql database please? none of the flags you provided are necessary for mysql to start on railway
jyxgood
jyxgood11mo ago
okay
Want results from more Discord servers?
Add your server