Skip to content

Docker container and external database #1541

Description

@mase76

Hi,
I want to set up PartDB in a Docker container, but the Database should be an external MariaDB. I have set up the database URL in the compose file, but the database is not reachable.
The problem is not with the database. I have other docker containers that can access the database without problems.
The line in compose file is something like this:
. . .
environment:
- DATABASE_URL=mysql://partdb:secret@dbhost:3306/partdb
. . .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions