Skip to content

Guide to change database configuration. #143

Answered by roncodes
stockarea asked this question in Q&A
Discussion options

You must be logged in to vote

I have my own database hosted at RDS and want to use that rather than MySQL docker container. Can someone help and guide me how to configure that in docker rather than using the docker instance. I am new to docker and little confused as where to do it.

We recommend configuring your external database, such as Amazon RDS, by setting the DATABASE_URL environment variable to a valid MySQL connection string. Alternatively, you can specify the database connection details by individually setting the following environment variables: DB_HOST, DB_DATABASE, DB_USERNAME, DB_PASSWORD, and DB_PORT.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@stockarea
Comment options

@roncodes
Comment options

@stockarea
Comment options

@roncodes
Comment options

@stockarea
Comment options

Answer selected by roncodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants