Skip to content

docker run instructions missing DB server container #4283

@wesgeorge

Description

@wesgeorge

Documentation link

https://docs.tandoor.dev/install/docker/

Affected section

Installation

Other

No response

Issue description

the "Docker" section of your install guide has a docker run command for the web side, and it says "The docker image (vabene1111/recipes) simply exposes the application on the container's port 80 through the integrated nginx webserver." but it doesn't say "you also need to create a second container like so" and provide a companion docker run command. running what's provided by itself produces a container that fails to start with the following log error:
`docker logs df4e69d4756a
Starting nginx
Checking configuration...
Waiting for database to be ready...

Database not reachable. Maximum attempts exceeded.
Please check logs above - misconfiguration is very likely.
Make sure the DB container is up and POSTGRES_HOST is set properly.
Shutting down container.`

If one is familiar with docker compose, one might be able to figure out the appropriate equivalent docker run command for the second container that appears to be required, but it'd be better to make this clearer in the docs. Or integrate both into one container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions