Skip to content

How to connect to external database? #188

@launchthatbrand

Description

@launchthatbrand

How can I use this to connect to an external cloud database from the local site?

It seems like in your base docker image you have

config create:
    dbhost: ${DB_HOST:-db}:3306
    ...

which is shown in the root run.sh.

Do i need to extend your image to overwrite this value?

I tried just replacing the DB Host env variable but I am getting database connection errors, presumably because it is still trying to use <mycloudhost>:3306 as the connection string.

Can you provide a quick tutorial for building the docker image custom?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions