Skip to content

Docker build/run fails during migrations: "Database type could not be determined" #177

Description

@mitchcurtis

I'm trying to build the project using Docker on macOS (M1 chip) but am running into an error.

Steps I took:

  • Cloned the repository.
  • Built the image: docker build -t sightreading .
  • Ran the container: docker run -p 8080:8080 sightreading

The error:

Running migrations for environment: development
Error: Database type could not be determined from configuration (postgres, mysql, sqlite)
 * Run with --trace to see traceback
 * Report issues to https://github.com/leafo/lapis/issues
make: *** [Makefile:8: migrate] Error 1

Full output:

scratch-gMqTPr.txt

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions