R
Railway12mo 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
Percy12mo ago
Project ID: N/A
jyxgood
jyxgoodOP12mo 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
Brody12mo ago
railway doesnt support docker compose, are these just cli flags to mysqld?
jyxgood
jyxgoodOP12mo ago
I'm not sure, but I think these are nessary for Mysql to start up
Brody
Brody12mo ago
are you using railways mysql database?
jyxgood
jyxgoodOP12mo ago
no, I use the image from dockerhub
Brody
Brody12mo ago
may i ask whats wrong with the mysql database railway offers?
jyxgood
jyxgoodOP12mo ago
another question, railway can't indicate the target version of image?
Brody
Brody12mo ago
yes you can specify a version tag when adding an image to a service
jyxgood
jyxgoodOP12mo ago
up to now, I don't see mistakes. I'm doing as a startup document
Brody
Brody12mo 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
jyxgoodOP12mo ago
okay
Want results from more Discord servers?
Add your server